tizen 2.3.1 release
[apps/home/b2-clocksetting.git] / data / changeable / groups / popup_layout.edc
1
2 //Height = 408 - (2 + 83 + 68)
3 group { name: "setting/popup/layout/title_content_button";
4    parts {
5       part { name: "elm.swallow.content";
6          scale: 1;
7          type: SWALLOW;
8          description { state: "default" 0.0;
9             min: 0 255;
10             max: -1 255;
11          }
12       }
13    }
14 }
15
16 /*
17  * Popup with label & check
18  * ---------
19  * Label
20  * Check
21  * ---------
22  */
23 group
24 {
25         name: "setting/popup/layout/label_check";
26         parts
27         {
28         part
29                 {
30                         name: "setting.swallow.content";
31                         scale: 1;
32                         type: SWALLOW;
33                         description
34                         {
35                                 state: "default" 0.0;
36                                 min: 0 255;
37                                 max: -1 255;
38                         }
39                 }
40         part
41                 {
42                         name: "setting.swallow.text";
43                         scale: 1;
44                         type: SWALLOW;
45                         description
46                         {
47                                 state: "default" 0.0;
48                                 fixed: 1 0;
49                                 rel2.relative: 1.0 0.0;
50                                 rel2.to_y: "setting.swallow.check";
51                                 align: 0.0 0.0;
52                         }
53                 }
54         part
55                 {
56                         name: "setting.swallow.check";
57                         scale: 1;
58                         type: SWALLOW;
59                         description
60                         {
61                                 state: "default" 0.0;
62                                 min: 0 90;
63                                 max: -1 90;
64                                 fixed: 1 1;
65                                 rel1.relative: 0.0 1.0;
66                                 rel1.to_y: "setting.swallow.text";
67                                 rel1.offset: 15 0;
68                                 rel2.relative: 1.0 1.0;
69                         }
70                 }
71         }
72 }
73
74 //No button: Height = 408 - (2 + 68)
75 group { name: "setting/popup/layout/title_content";
76    parts {
77       part { name: "elm.swallow.content";
78          scale: 1;
79          type: SWALLOW;
80          description { state: "default" 0.0;
81             min: 0 338;
82             max: -1 338;
83          }
84       }
85    }
86 }
87
88 //No title: Height = 408 - ( 2 + 83 )
89 group { name: "setting/popup/layout/content_button";
90    parts {
91       part { name: "elm.swallow.content";
92          scale: 1;
93          type: SWALLOW;
94          description { state: "default" 0.0;
95             min: 0 323;
96             max: -1 323;
97          }
98       }
99    }
100 }
101
102 //No title and button present: Height  = 408 - 2
103 group { name: "setting/popup/layout/default";
104    parts {
105       part { name: "elm.swallow.content";
106          scale: 1;
107          type: SWALLOW;
108          description { state: "default" 0.0;
109             min: 0 406;
110             max: -1 406;
111          }
112       }
113    }
114 }
115
116 group { name: "popup_checkview_internal";
117    parts {
118       part { name: "label";
119          scale: 1;
120          type: SWALLOW;
121          description { state: "default" 0.0;
122             fixed: 1 0;
123             rel2 {
124                relative: 1.0 0.0;
125                to_y: "end_field";
126             }
127          }
128       }
129       part { name: "bottom_pad";
130          type: SPACER;
131          scale: 1;
132          description { state: "default" 0.0;
133             align: 0.0 1.0;
134             min: 0 4;
135             fixed: 0 1;
136             rel1.relative: 0.0 1.0;
137          }
138       }
139       part { name: "pad_b";
140          type: SPACER;
141          scale: 1;
142          description { state: "default" 0.0;
143             align: 0.0 1.0;
144             min: 0 82;
145             fixed: 0 1;
146             rel1 {
147                relative: 0.0 0.0;
148                to: "bottom_pad";
149             }
150             rel2 {
151                relative: 1.0 0.0;
152                to: "bottom_pad";
153             }
154          }
155       }
156       part { name: "end_field";
157          type: SPACER;
158          scale: 1;
159          description { state: "default" 0.0;
160             align: 0.0 1.0;
161             min: 0 82;
162             fixed: 0 1;
163             rel1 {
164                relative: 0.0 1.0;
165                to: "pad_b";
166             }
167             rel2 {
168                relative: 1.0 1.0;
169                to: "pad_b";
170             }
171          }
172       }
173       part { name: "check_bottom";
174          type: SPACER;
175          scale: 1;
176          description { state: "default" 0.0;
177             align: 0.0 1.0;
178             min: 0 4;
179             fixed: 0 1;
180             rel1 {
181                relative: 0.0 0.0;
182                to: "end_field";
183             }
184             rel2 {
185                relative: 1.0 0.0;
186                to: "end_field";
187             }
188          }
189       }
190       part { name: "elm.swallow.end";
191          type: SWALLOW;
192          scale: 1;
193          description { state: "default" 0.0;
194             fixed: 1 1;
195             align: 0.0 0.5;
196             rel1.to: "end_field";
197             rel1.offset: 1 0;
198             rel2.to: "end_field";
199          }
200       }
201    }
202 }