diff options
Diffstat (limited to 'tests/conform/scripts/test-script-named-object.json')
-rw-r--r-- | tests/conform/scripts/test-script-named-object.json | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/conform/scripts/test-script-named-object.json b/tests/conform/scripts/test-script-named-object.json new file mode 100644 index 000000000..7210321c9 --- /dev/null +++ b/tests/conform/scripts/test-script-named-object.json @@ -0,0 +1,44 @@ +[ + { + "id" : "layout", + "type" : "ClutterBoxLayout", + "vertical" : true, + "spacing" : 12, + "pack-start" : false + }, + { + "type" : "ClutterStage", + "id" : "main-stage", + "children" : [ + { + "id" : "test", + "type" : "ClutterBox", + "layout-manager" : "layout", + "children" : [ + { + "id" : "child-1", + "type" : "ClutterRectangle", + "width" : "3 em", + "height" : "3 em" + } + ], + "constraints" : [ + { + "type" : "ClutterAlignConstraint", + "name" : "x-align", + "factor" : 0.5, + "align-axis" : "x-axis", + "source" : "main-stage" + }, + { + "type" : "ClutterAlignConstraint", + "name" : "y-align", + "factor" : 0.5, + "align-axis" : "y-axis", + "source" : "main-stage" + } + ] + } + ] + } +] |