summaryrefslogtreecommitdiff
path: root/tests/conform/scripts/test-script-named-object.json
blob: 7210321c97513bcebc5b9c1dbbe7802dc95523ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"
          }
        ]
      }
    ]
  }
]