2010-08-25 12:53:46 -04:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"id" : "stage",
|
|
|
|
"type" : "ClutterStage",
|
|
|
|
"width" : 400,
|
|
|
|
"height" : 400,
|
|
|
|
"color" : "#333355ff",
|
|
|
|
"children" : [ "box" ]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"id" : "box",
|
|
|
|
"type" : "ClutterBox",
|
2010-08-26 05:52:12 -04:00
|
|
|
"width" : 400,
|
|
|
|
"height" : 400,
|
2010-08-25 12:53:46 -04:00
|
|
|
|
|
|
|
"layout-manager" : {
|
|
|
|
"type" : "ClutterBinLayout",
|
2010-08-27 10:29:09 -04:00
|
|
|
"x-align" : "center",
|
|
|
|
"y-align" : "center"
|
2010-08-25 12:53:46 -04:00
|
|
|
},
|
|
|
|
|
2010-08-26 05:52:12 -04:00
|
|
|
"children" : [
|
2010-08-25 12:53:46 -04:00
|
|
|
{
|
2010-08-26 05:52:12 -04:00
|
|
|
"id" : "rectangle",
|
|
|
|
"type" : "ClutterRectangle",
|
|
|
|
"width" : 200,
|
|
|
|
"height" : 200,
|
|
|
|
"color" : "red"
|
2010-08-25 12:53:46 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|