summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-11-10 08:35:48 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-11-10 08:35:48 +0200
commitde068b84679251cbf8572cb471202a534ce141c4 (patch)
tree3676e54fcdd94d670f46835881fd9771b61e143d /data
parentd27884fd2531a575ebc9a7a73e12b99019376df2 (diff)
Factory: update widgets configuration
The size hint weight was not set, leading to weird resizing when resized inside a window.
Diffstat (limited to 'data')
-rw-r--r--data/layouts/factory.json42
1 files changed, 38 insertions, 4 deletions
diff --git a/data/layouts/factory.json b/data/layouts/factory.json
index 1667c2d..e5731c5 100644
--- a/data/layouts/factory.json
+++ b/data/layouts/factory.json
@@ -14,6 +14,7 @@
14 "Elm.Win.autodel":[true], 14 "Elm.Win.autodel":[true],
15 "Efl.Gfx.Base.size":[300, 300], 15 "Efl.Gfx.Base.size":[300, 300],
16 "Elm.Widget.part_text":[null, "Window"], 16 "Elm.Widget.part_text":[null, "Window"],
17 "Evas.Object.size_hint_weight":[1, 1],
17 "Efl.Gfx.Base.visible":[true] 18 "Efl.Gfx.Base.visible":[true]
18 }, 19 },
19 "Contains": ["Bg"] 20 "Contains": ["Bg"]
@@ -47,6 +48,7 @@
47 "Properties": 48 "Properties":
48 { 49 {
49 "Elm.Widget.part_text":[null, "Button"], 50 "Elm.Widget.part_text":[null, "Button"],
51 "Evas.Object.size_hint_weight":[1, 1],
50 "Efl.Gfx.Base.visible":[true], 52 "Efl.Gfx.Base.visible":[true],
51 "Efl.Gfx.Base.size":[73, 30] 53 "Efl.Gfx.Base.size":[73, 30]
52 } 54 }
@@ -60,6 +62,7 @@
60 "Properties": 62 "Properties":
61 { 63 {
62 "Elm.Widget.part_text":[null, "Label"], 64 "Elm.Widget.part_text":[null, "Label"],
65 "Evas.Object.size_hint_weight":[1, 1],
63 "Efl.Gfx.Base.visible":[true], 66 "Efl.Gfx.Base.visible":[true],
64 "Efl.Gfx.Base.size":[60, 30] 67 "Efl.Gfx.Base.size":[60, 30]
65 } 68 }
@@ -73,6 +76,7 @@
73 "Properties": 76 "Properties":
74 { 77 {
75 "Elm.Widget.part_text":[null, "Check"], 78 "Elm.Widget.part_text":[null, "Check"],
79 "Evas.Object.size_hint_weight":[1, 1],
76 "Efl.Gfx.Base.visible":[true], 80 "Efl.Gfx.Base.visible":[true],
77 "Efl.Gfx.Base.size":[80, 30] 81 "Efl.Gfx.Base.size":[80, 30]
78 } 82 }
@@ -86,8 +90,9 @@
86 "Properties": 90 "Properties":
87 { 91 {
88 "Elm.Widget.part_text":[null, "Radio"], 92 "Elm.Widget.part_text":[null, "Radio"],
89 "Efl.Gfx.Base.visible":[true],
90 "Elm.Radio.state_value":[0], 93 "Elm.Radio.state_value":[0],
94 "Evas.Object.size_hint_weight":[1, 1],
95 "Efl.Gfx.Base.visible":[true],
91 "Efl.Gfx.Base.size":[80, 30] 96 "Efl.Gfx.Base.size":[80, 30]
92 } 97 }
93 }, 98 },
@@ -99,6 +104,7 @@
99 }, 104 },
100 "Properties": 105 "Properties":
101 { 106 {
107 "Evas.Object.size_hint_weight":[1, 1],
102 "Efl.File.file":["erigo_icon", null], 108 "Efl.File.file":["erigo_icon", null],
103 "Efl.Gfx.Base.visible":[true], 109 "Efl.Gfx.Base.visible":[true],
104 "Efl.Gfx.Base.size":[40, 40] 110 "Efl.Gfx.Base.size":[40, 40]
@@ -112,6 +118,7 @@
112 }, 118 },
113 "Properties": 119 "Properties":
114 { 120 {
121 "Evas.Object.size_hint_weight":[1, 1],
115 "Efl.File.file":["factory_image", null], 122 "Efl.File.file":["factory_image", null],
116 "Efl.Gfx.Base.visible":[true], 123 "Efl.Gfx.Base.visible":[true],
117 "Efl.Gfx.Base.size":[40, 40] 124 "Efl.Gfx.Base.size":[40, 40]
@@ -125,10 +132,11 @@
125 }, 132 },
126 "Properties": 133 "Properties":
127 { 134 {
135 "Elm.Actionslider.indicator_pos":["ELM_ACTIONSLIDER_CENTER"],
128 "Elm.Widget.part_text":["left", "Action"], 136 "Elm.Widget.part_text":["left", "Action"],
129 "Elm.Widget.part_text":["center", null], 137 "Elm.Widget.part_text":["center", null],
130 "Elm.Widget.part_text":["right", "slider"], 138 "Elm.Widget.part_text":["right", "slider"],
131 "Elm.Actionslider.indicator_pos":["ELM_ACTIONSLIDER_CENTER"], 139 "Evas.Object.size_hint_weight":[1, 1],
132 "Efl.Gfx.Base.visible":[true], 140 "Efl.Gfx.Base.visible":[true],
133 "Efl.Gfx.Base.size":[180, 30] 141 "Efl.Gfx.Base.size":[180, 30]
134 } 142 }
@@ -142,6 +150,7 @@
142 "Properties": 150 "Properties":
143 { 151 {
144 "Elm.Widget.part_text":[null, "Bubble"], 152 "Elm.Widget.part_text":[null, "Bubble"],
153 "Evas.Object.size_hint_weight":[1, 1],
145 "Efl.Gfx.Base.visible":[true], 154 "Efl.Gfx.Base.visible":[true],
146 "Efl.Gfx.Base.size":[70, 50] 155 "Efl.Gfx.Base.size":[70, 50]
147 } 156 }
@@ -154,6 +163,7 @@
154 }, 163 },
155 "Properties": 164 "Properties":
156 { 165 {
166 "Evas.Object.size_hint_weight":[1, 1],
157 "Efl.Gfx.Base.visible":[true], 167 "Efl.Gfx.Base.visible":[true],
158 "Efl.Gfx.Base.size":[120, 120] 168 "Efl.Gfx.Base.size":[120, 120]
159 } 169 }
@@ -168,6 +178,7 @@
168 { 178 {
169 "Elm.Colorselector.mode":["ELM_COLORSELECTOR_COMPONENTS"], 179 "Elm.Colorselector.mode":["ELM_COLORSELECTOR_COMPONENTS"],
170 "Elm.Colorselector.color":[255, 0, 0, 255], 180 "Elm.Colorselector.color":[255, 0, 0, 255],
181 "Evas.Object.size_hint_weight":[1, 1],
171 "Efl.Gfx.Base.visible":[true], 182 "Efl.Gfx.Base.visible":[true],
172 "Efl.Gfx.Base.size":[165, 165] 183 "Efl.Gfx.Base.size":[165, 165]
173 } 184 }
@@ -180,6 +191,7 @@
180 }, 191 },
181 "Properties": 192 "Properties":
182 { 193 {
194 "Evas.Object.size_hint_weight":[1, 1],
183 "Efl.Gfx.Base.visible":[true], 195 "Efl.Gfx.Base.visible":[true],
184 "Efl.Gfx.Base.size":[290, 20] 196 "Efl.Gfx.Base.size":[290, 20]
185 } 197 }
@@ -192,6 +204,7 @@
192 }, 204 },
193 "Properties": 205 "Properties":
194 { 206 {
207 "Evas.Object.size_hint_weight":[1, 1],
195 "Efl.Gfx.Base.visible":[true], 208 "Efl.Gfx.Base.visible":[true],
196 "Efl.Gfx.Base.size":[65, 35] 209 "Efl.Gfx.Base.size":[65, 35]
197 } 210 }
@@ -205,8 +218,9 @@
205 "Properties": 218 "Properties":
206 { 219 {
207 "Elm.Entry.scrollable":[true], 220 "Elm.Entry.scrollable":[true],
208 "Efl.Gfx.Base.visible":[true],
209 "Elm.Widget.part_text":[null, "Entry"], 221 "Elm.Widget.part_text":[null, "Entry"],
222 "Evas.Object.size_hint_weight":[1, 1],
223 "Efl.Gfx.Base.visible":[true],
210 "Efl.Gfx.Base.size":[65, 35] 224 "Efl.Gfx.Base.size":[65, 35]
211 } 225 }
212 }, 226 },
@@ -218,6 +232,7 @@
218 }, 232 },
219 "Properties": 233 "Properties":
220 { 234 {
235 "Evas.Object.size_hint_weight":[1, 1],
221 "Evas.Object.size_hint_min":[75, 75], 236 "Evas.Object.size_hint_min":[75, 75],
222 "Elm.Image.resizable":[true, true], 237 "Elm.Image.resizable":[true, true],
223 "Efl.Gfx.Base.visible":[true] 238 "Efl.Gfx.Base.visible":[true]
@@ -231,6 +246,7 @@
231 }, 246 },
232 "Properties": 247 "Properties":
233 { 248 {
249 "Evas.Object.size_hint_weight":[1, 1],
234 "Efl.Gfx.Base.visible":[true], 250 "Efl.Gfx.Base.visible":[true],
235 "Efl.Gfx.Base.size":[165, 30] 251 "Efl.Gfx.Base.size":[165, 30]
236 } 252 }
@@ -244,6 +260,7 @@
244 "Properties": 260 "Properties":
245 { 261 {
246 "Elm_Interface_Fileselector.path":["/home"], 262 "Elm_Interface_Fileselector.path":["/home"],
263 "Evas.Object.size_hint_weight":[1, 1],
247 "Efl.Gfx.Base.visible":[true], 264 "Efl.Gfx.Base.visible":[true],
248 "Efl.Gfx.Base.size":[165, 200] 265 "Efl.Gfx.Base.size":[165, 200]
249 } 266 }
@@ -258,6 +275,7 @@
258 { 275 {
259 "Elm.Widget.part_text":[null, "Select a file"], 276 "Elm.Widget.part_text":[null, "Select a file"],
260 "Elm_Interface_Fileselector.path":["/home"], 277 "Elm_Interface_Fileselector.path":["/home"],
278 "Evas.Object.size_hint_weight":[1, 1],
261 "Efl.Gfx.Base.visible":[true], 279 "Efl.Gfx.Base.visible":[true],
262 "Efl.Gfx.Base.size":[165, 30] 280 "Efl.Gfx.Base.size":[165, 30]
263 } 281 }
@@ -271,6 +289,7 @@
271 "Properties": 289 "Properties":
272 { 290 {
273 "Elm.Widget.part_text":[null, "Select a file"], 291 "Elm.Widget.part_text":[null, "Select a file"],
292 "Evas.Object.size_hint_weight":[1, 1],
274 "Efl.Gfx.Base.visible":[true], 293 "Efl.Gfx.Base.visible":[true],
275 "Efl.Gfx.Base.size":[165, 30] 294 "Efl.Gfx.Base.size":[165, 30]
276 } 295 }
@@ -283,6 +302,7 @@
283 }, 302 },
284 "Properties": 303 "Properties":
285 { 304 {
305 "Evas.Object.size_hint_weight":[1, 1],
286 "Efl.Gfx.Base.visible":[true], 306 "Efl.Gfx.Base.visible":[true],
287 "Efl.Gfx.Base.size":[4, 40] 307 "Efl.Gfx.Base.size":[4, 40]
288 } 308 }
@@ -296,6 +316,7 @@
296 "Properties": 316 "Properties":
297 { 317 {
298 "Elm.Progressbar.value":[0.35], 318 "Elm.Progressbar.value":[0.35],
319 "Evas.Object.size_hint_weight":[1, 1],
299 "Efl.Gfx.Base.visible":[true], 320 "Efl.Gfx.Base.visible":[true],
300 "Efl.Gfx.Base.size":[165, 30] 321 "Efl.Gfx.Base.size":[165, 30]
301 } 322 }
@@ -309,6 +330,7 @@
309 "Properties": 330 "Properties":
310 { 331 {
311 "Elm.Widget.part_text":[null, "Hoversel"], 332 "Elm.Widget.part_text":[null, "Hoversel"],
333 "Evas.Object.size_hint_weight":[1, 1],
312 "Efl.Gfx.Base.visible":[true], 334 "Efl.Gfx.Base.visible":[true],
313 "Efl.Gfx.Base.size":[60, 40] 335 "Efl.Gfx.Base.size":[60, 40]
314 } 336 }
@@ -322,6 +344,7 @@
322 "Properties": 344 "Properties":
323 { 345 {
324 "Elm.Widget.part_text":[null, "Frame"], 346 "Elm.Widget.part_text":[null, "Frame"],
347 "Evas.Object.size_hint_weight":[1, 1],
325 "Efl.Gfx.Base.visible":[true], 348 "Efl.Gfx.Base.visible":[true],
326 "Efl.Gfx.Base.size":[60, 60] 349 "Efl.Gfx.Base.size":[60, 60]
327 } 350 }
@@ -335,6 +358,7 @@
335 "Properties": 358 "Properties":
336 { 359 {
337 "Elm.Box.padding":[7, 0], 360 "Elm.Box.padding":[7, 0],
361 "Evas.Object.size_hint_weight":[1, 1],
338 "Efl.Gfx.Base.size":[200, 200], 362 "Efl.Gfx.Base.size":[200, 200],
339 "Efl.Gfx.Base.visible":[true] 363 "Efl.Gfx.Base.visible":[true]
340 }, 364 },
@@ -367,6 +391,7 @@
367 }, 391 },
368 "Properties": 392 "Properties":
369 { 393 {
394 "Evas.Object.size_hint_weight":[1, 1],
370 "Efl.Gfx.Base.visible":[true] 395 "Efl.Gfx.Base.visible":[true]
371 } 396 }
372 }, 397 },
@@ -378,6 +403,7 @@
378 }, 403 },
379 "Properties": 404 "Properties":
380 { 405 {
406 "Evas.Object.size_hint_weight":[1, 1],
381 "Efl.Gfx.Base.visible":[true] 407 "Efl.Gfx.Base.visible":[true]
382 } 408 }
383 }, 409 },
@@ -432,6 +458,7 @@
432 }, 458 },
433 "Properties": 459 "Properties":
434 { 460 {
461 "Evas.Object.size_hint_weight":[1, 1],
435 "Efl.Gfx.Base.visible":[true] 462 "Efl.Gfx.Base.visible":[true]
436 } 463 }
437 }, 464 },
@@ -443,6 +470,7 @@
443 }, 470 },
444 "Properties": 471 "Properties":
445 { 472 {
473 "Evas.Object.size_hint_weight":[1, 1],
446 "Efl.Gfx.Base.visible":[true] 474 "Efl.Gfx.Base.visible":[true]
447 } 475 }
448 }, 476 },
@@ -454,6 +482,7 @@
454 }, 482 },
455 "Properties": 483 "Properties":
456 { 484 {
485 "Evas.Object.size_hint_weight":[1, 1],
457 "Efl.Gfx.Base.visible":[true] 486 "Efl.Gfx.Base.visible":[true]
458 } 487 }
459 }, 488 },
@@ -465,6 +494,7 @@
465 }, 494 },
466 "Properties": 495 "Properties":
467 { 496 {
497 "Evas.Object.size_hint_weight":[1, 1],
468 "Efl.Gfx.Base.size":[80, 30], 498 "Efl.Gfx.Base.size":[80, 30],
469 "Efl.Gfx.Base.visible":[true] 499 "Efl.Gfx.Base.visible":[true]
470 } 500 }
@@ -505,6 +535,7 @@
505 }, 535 },
506 "Properties": 536 "Properties":
507 { 537 {
538 "Evas.Object.size_hint_weight":[1, 1],
508 "Efl.Gfx.Base.size":[80, 40], 539 "Efl.Gfx.Base.size":[80, 40],
509 "Efl.Gfx.Base.visible":[true] 540 "Efl.Gfx.Base.visible":[true]
510 } 541 }
@@ -517,6 +548,7 @@
517 }, 548 },
518 "Properties": 549 "Properties":
519 { 550 {
551 "Evas.Object.size_hint_weight":[1, 1],
520 "Efl.Gfx.Base.size":[80, 40], 552 "Efl.Gfx.Base.size":[80, 40],
521 "Efl.Gfx.Base.visible":[true] 553 "Efl.Gfx.Base.visible":[true]
522 } 554 }
@@ -531,6 +563,7 @@
531 { 563 {
532 "Elm.Box.horizontal":[true], 564 "Elm.Box.horizontal":[true],
533 "Elm.Box.padding":[7, 0], 565 "Elm.Box.padding":[7, 0],
566 "Evas.Object.size_hint_weight":[1, 1],
534 "Efl.Gfx.Base.visible":[true] 567 "Efl.Gfx.Base.visible":[true]
535 } 568 }
536 }, 569 },
@@ -542,8 +575,9 @@
542 }, 575 },
543 "Properties": 576 "Properties":
544 { 577 {
545 "Evas.Object.size_hint_min":[55, 55],
546 "Elm.Image.resizable":[true, true], 578 "Elm.Image.resizable":[true, true],
579 "Evas.Object.size_hint_weight":[1, 1],
580 "Evas.Object.size_hint_min":[55, 55],
547 "Efl.Gfx.Base.visible":[true] 581 "Efl.Gfx.Base.visible":[true]
548 } 582 }
549 }, 583 },