mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
870e7ddfad
The script parser won't apply child and layout properties correctly with more than one children. http://bugzilla.clutter-project.org/show_bug.cgi?id=2285 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
22 lines
514 B
JSON
22 lines
514 B
JSON
[
|
|
{ "id" : "manager", "type" : "ClutterBoxLayout" },
|
|
|
|
{
|
|
"id" : "container", "type" : "ClutterBox",
|
|
"layout-manager" : "manager",
|
|
"children" : [
|
|
{
|
|
"id" : "actor-1", "type" : "ClutterRectangle",
|
|
"layout::x-fill" : true,
|
|
"layout::y-align" : "center",
|
|
"layout::expand" : true
|
|
}, {
|
|
"id" : "actor-2", "type" : "ClutterRectangle",
|
|
"layout::x-fill" : false,
|
|
"layout::y-align" : "end",
|
|
"layout::expand" : false
|
|
}
|
|
]
|
|
}
|
|
]
|