Merge "DALi Version 1.1.22" into devel/master
[platform/core/uifw/dali-toolkit.git] / node-addon / item-template.json
1 {
2   "templates":
3   {
4     "template-item-list":
5     {
6       "name":"item",
7       "type":"Actor",
8       "position":[0,0,0],
9       "anchorPoint":"TOP_LEFT",
10       "parentOrigin":"TOP_LEFT",
11       "actors":
12        [
13         {
14           "name":"icon",
15           "type":"ImageView",
16           "image":
17           {
18             "rendererType" : "image",
19             "imageUrl": "{icon_path}"
20           },
21           "position":[20.0, 0.0, 0.0],
22           "size":[70.0, 70.0, 0.0],
23           "color":[1.0,1.0,1.0,1.0],
24           "anchorPoint":"CENTER_LEFT",
25           "parentOrigin":"CENTER_LEFT",
26           "actors":
27           [
28             {
29               "name":"title",
30               "anchorPoint":"CENTER_LEFT",
31               "parentOrigin":"CENTER_RIGHT",
32               "type":"TextLabel",
33               "position": [30.0, 0.0, 0.0],
34               "size":[200.0, 70.0, 0.0],
35               "pointSize":30,
36               "fontFamily":"HelveticaNeue",
37               "fontStyle":"Bold",
38               "horizontalAlignment":"BEGIN",
39               "verticalAlignment":"CENTER",
40               "textColor": [1.0,0.0,1.0,1.0],
41               "text":"{title_text}"
42             }
43           ]
44         }
45       ]
46     },
47
48     "template-item-grid":
49     {
50       "name":"item",
51       "type":"Actor",
52       "position":[0,0,0],
53       "anchorPoint":"TOP_LEFT",
54       "parentOrigin":"TOP_LEFT",
55       "actors":
56        [
57         {
58           "name":"icon",
59           "type":"ImageView",
60           "image":
61           {
62             "rendererType" : "image",
63             "imageUrl": "{icon_path}"
64           },
65           "position":[0.0, -10.0, 0.0],
66           "size":[70.0, 70.0, 0.0],
67           "color":[1.0,1.0,1.0,1.0],
68           "anchorPoint":"CENTER",
69           "parentOrigin":"CENTER",
70           "actors":
71           [
72             {
73               "name":"title",
74               "anchorPoint":"TOP_CENTER",
75               "parentOrigin":"BOTTOM_CENTER",
76               "type":"TextLabel",
77               "position": [0.0,10.0,0.0],
78               "size":[100.0, 100.0, 0.0],
79               "pointSize":22,
80               "fontFamily":"HelveticaNeue",
81               "fontStyle":"Bold",
82               "horizontalAlignment":"CENTER",
83               "textColor": [1.0,0.0,1.0,1.0],
84               "text":"{title_text}"
85             }
86           ]
87         }
88       ]
89     }
90   }
91 }
92