summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-10-02 12:04:12 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-02 12:11:15 +0200
commitfa908800556d8e4be7ce8785e7b88123df89e0a5 (patch)
treee670516cca6f661e97d3684d04969bfd68c8cd67 /src/bin
parent7b4a58313b3ab6f8e5610e90c5a1153c7f27b1c5 (diff)
efl_gfx_arrangement: change content_padding param type and remove scalable
Summary: This change `content_padding` parameter type to int from double for consistency of size properties. `scalable` should be handled in more common size API. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> ref T7864 Test Plan: ninja test Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7864 Differential Revision: https://phab.enlightenment.org/D10154
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_evas_snapshot.c2
-rw-r--r--src/bin/elementary/test_gfx_filters.c2
-rw-r--r--src/bin/elementary/test_ui_box.c10
-rw-r--r--src/bin/elementary/test_ui_pager.c10
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c18
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c14
-rw-r--r--src/bin/elementary/test_ui_spotlight.c10
-rw-r--r--src/bin/elementary/test_ui_tab_pager.c14
-rw-r--r--src/bin/elementary/test_ui_table.c10
9 files changed, 45 insertions, 45 deletions
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index f1395f2..40513bb 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.c
@@ -129,7 +129,7 @@ test_evas_snapshot(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
129 efl_ui_win_autodel_set(efl_added, 1)); 129 efl_ui_win_autodel_set(efl_added, 1));
130 130
131 table = efl_add(EFL_UI_TABLE_CLASS, win, 131 table = efl_add(EFL_UI_TABLE_CLASS, win,
132 efl_gfx_arrangement_content_padding_set(efl_added, 5, 5, 1)); 132 efl_gfx_arrangement_content_padding_set(efl_added, 5, 5));
133 efl_content_set(win, table); 133 efl_content_set(win, table);
134 134
135 // Objects below the snapshot 135 // Objects below the snapshot
diff --git a/src/bin/elementary/test_gfx_filters.c b/src/bin/elementary/test_gfx_filters.c
index 4cd5214..35360b6 100644
--- a/src/bin/elementary/test_gfx_filters.c
+++ b/src/bin/elementary/test_gfx_filters.c
@@ -387,7 +387,7 @@ test_gfx_filters(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
387 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 387 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
388 efl_gfx_hint_weight_set(efl_added, 1.0, 0.0), 388 efl_gfx_hint_weight_set(efl_added, 1.0, 0.0),
389 efl_gfx_hint_fill_set(efl_added, EINA_TRUE, EINA_FALSE), 389 efl_gfx_hint_fill_set(efl_added, EINA_TRUE, EINA_FALSE),
390 efl_gfx_arrangement_content_padding_set(efl_added, 5, 5, 1), 390 efl_gfx_arrangement_content_padding_set(efl_added, 5, 5),
391 efl_gfx_hint_margin_set(efl_added, 5, 5, 5, 5), 391 efl_gfx_hint_margin_set(efl_added, 5, 5, 5, 5),
392 efl_gfx_arrangement_content_align_set(efl_added, 0, 0.5)); 392 efl_gfx_arrangement_content_align_set(efl_added, 0, 0.5));
393 efl_pack(box, box2); 393 efl_pack(box, box2);
diff --git a/src/bin/elementary/test_ui_box.c b/src/bin/elementary/test_ui_box.c
index 8b2e8ef..57dc98b 100644
--- a/src/bin/elementary/test_ui_box.c
+++ b/src/bin/elementary/test_ui_box.c
@@ -72,11 +72,11 @@ user_min_slider_cb(void *data EINA_UNUSED, const Efl_Event *event)
72static void 72static void
73padding_slider_cb(void *data, const Efl_Event *event) 73padding_slider_cb(void *data, const Efl_Event *event)
74{ 74{
75 int val = elm_slider_value_get(event->object); 75 unsigned int val = lround(elm_slider_value_get(event->object));
76 Eo *win = data, *box; 76 Eo *win = data, *box;
77 77
78 box = efl_key_wref_get(win, "box"); 78 box = efl_key_wref_get(win, "box");
79 efl_gfx_arrangement_content_padding_set(box, val, val, EINA_TRUE); 79 efl_gfx_arrangement_content_padding_set(box, val, val);
80} 80}
81 81
82static void 82static void
@@ -240,7 +240,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
240 240
241 vbox = efl_add(EFL_UI_BOX_CLASS, win, 241 vbox = efl_add(EFL_UI_BOX_CLASS, win,
242 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 242 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
243 efl_gfx_arrangement_content_padding_set(vbox, 10, 10, EINA_TRUE); 243 efl_gfx_arrangement_content_padding_set(vbox, 10, 10);
244 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5); 244 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5);
245 elm_win_resize_object_add(win, vbox); 245 elm_win_resize_object_add(win, vbox);
246 246
@@ -256,7 +256,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
256 hbox = efl_add(EFL_UI_BOX_CLASS, win, 256 hbox = efl_add(EFL_UI_BOX_CLASS, win,
257 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 257 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
258 efl_content_set(f, hbox); 258 efl_content_set(f, hbox);
259 efl_gfx_arrangement_content_padding_set(hbox, 10, 0, EINA_TRUE); 259 efl_gfx_arrangement_content_padding_set(hbox, 10, 0);
260 260
261 261
262 /* weights radio group */ 262 /* weights radio group */
@@ -533,7 +533,7 @@ test_ui_box(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
533 bx = efl_add(EFL_UI_BOX_CLASS, win, 533 bx = efl_add(EFL_UI_BOX_CLASS, win,
534 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 534 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
535 efl_key_wref_set(win, "box", bx); 535 efl_key_wref_set(win, "box", bx);
536 efl_gfx_arrangement_content_padding_set(bx, 10, 10, EINA_TRUE); 536 efl_gfx_arrangement_content_padding_set(bx, 10, 10);
537 efl_gfx_hint_align_set(bx, 0.5, 0.5); 537 efl_gfx_hint_align_set(bx, 0.5, 0.5);
538 efl_gfx_hint_weight_set(bx, 1, 1); 538 efl_gfx_hint_weight_set(bx, 1, 1);
539 efl_content_set(f, bx); 539 efl_content_set(f, bx);
diff --git a/src/bin/elementary/test_ui_pager.c b/src/bin/elementary/test_ui_pager.c
index e0df202..34792f3 100644
--- a/src/bin/elementary/test_ui_pager.c
+++ b/src/bin/elementary/test_ui_pager.c
@@ -443,12 +443,12 @@ static void pack_cb(void *data,
443 back_btn_cb, navi)); 443 back_btn_cb, navi));
444 444
445 box = efl_add(EFL_UI_BOX_CLASS, navi, 445 box = efl_add(EFL_UI_BOX_CLASS, navi,
446 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 446 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
447 elm_naviframe_item_push(navi, "Pack", btn, NULL, 447 elm_naviframe_item_push(navi, "Pack", btn, NULL,
448 efl_added, NULL)); 448 efl_added, NULL));
449 449
450 in_box1 = efl_add(EFL_UI_BOX_CLASS, box, 450 in_box1 = efl_add(EFL_UI_BOX_CLASS, box,
451 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 451 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
452 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 452 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
453 453
454 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 454 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
@@ -458,7 +458,7 @@ static void pack_cb(void *data,
458 efl_ui_pager_current_page_get(pager))); 458 efl_ui_pager_current_page_get(pager)));
459 459
460 in_box2 = efl_add(EFL_UI_BOX_CLASS, box, 460 in_box2 = efl_add(EFL_UI_BOX_CLASS, box,
461 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 461 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
462 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 462 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
463 463
464 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2); 464 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2);
@@ -628,7 +628,7 @@ static void current_page_cb(void *data,
628 back_btn_cb, navi)); 628 back_btn_cb, navi));
629 629
630 box = efl_add(EFL_UI_BOX_CLASS, navi, 630 box = efl_add(EFL_UI_BOX_CLASS, navi,
631 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 631 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
632 elm_naviframe_item_push(navi, "Current Page", btn, NULL, 632 elm_naviframe_item_push(navi, "Current Page", btn, NULL,
633 efl_added, NULL)); 633 efl_added, NULL));
634 634
@@ -674,7 +674,7 @@ static void indicator_cb(void *data,
674 back_btn_cb, navi)); 674 back_btn_cb, navi));
675 675
676 box = efl_add(EFL_UI_BOX_CLASS, navi, 676 box = efl_add(EFL_UI_BOX_CLASS, navi,
677 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 677 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
678 elm_naviframe_item_push(navi, "Indicator", btn, NULL, 678 elm_naviframe_item_push(navi, "Indicator", btn, NULL,
679 efl_added, NULL)); 679 efl_added, NULL));
680 680
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index b6548a4..c60ac48 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -495,7 +495,7 @@ static void padding_cb(void *data,
495 back_btn_cb, navi)); 495 back_btn_cb, navi));
496 496
497 box = efl_add(EFL_UI_BOX_CLASS, navi, 497 box = efl_add(EFL_UI_BOX_CLASS, navi,
498 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 498 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
499 elm_naviframe_item_push(navi, "Padding Size", btn, NULL, 499 elm_naviframe_item_push(navi, "Padding Size", btn, NULL,
500 efl_added, NULL)); 500 efl_added, NULL));
501 501
@@ -522,7 +522,7 @@ static void side_page_num_cb(void *data,
522 back_btn_cb, navi)); 522 back_btn_cb, navi));
523 523
524 box = efl_add(EFL_UI_BOX_CLASS, navi, 524 box = efl_add(EFL_UI_BOX_CLASS, navi,
525 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 525 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
526 elm_naviframe_item_push(navi, "Side Page Num", btn, NULL, 526 elm_naviframe_item_push(navi, "Side Page Num", btn, NULL,
527 efl_added, NULL)); 527 efl_added, NULL));
528 528
@@ -555,12 +555,12 @@ static void pack_cb(void *data,
555 back_btn_cb, navi)); 555 back_btn_cb, navi));
556 556
557 box = efl_add(EFL_UI_BOX_CLASS, navi, 557 box = efl_add(EFL_UI_BOX_CLASS, navi,
558 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 558 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
559 elm_naviframe_item_push(navi, "Pack", btn, NULL, 559 elm_naviframe_item_push(navi, "Pack", btn, NULL,
560 efl_added, NULL)); 560 efl_added, NULL));
561 561
562 in_box1 = efl_add(EFL_UI_BOX_CLASS, box, 562 in_box1 = efl_add(EFL_UI_BOX_CLASS, box,
563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
564 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 564 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
565 565
566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1, 566 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1,
@@ -570,7 +570,7 @@ static void pack_cb(void *data,
570 efl_ui_pager_current_page_get(pager))); 570 efl_ui_pager_current_page_get(pager)));
571 571
572 in_box2 = efl_add(EFL_UI_BOX_CLASS, box, 572 in_box2 = efl_add(EFL_UI_BOX_CLASS, box,
573 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 573 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
574 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 574 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
575 575
576 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2); 576 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2);
@@ -739,7 +739,7 @@ static void current_page_cb(void *data,
739 back_btn_cb, navi)); 739 back_btn_cb, navi));
740 740
741 box = efl_add(EFL_UI_BOX_CLASS, navi, 741 box = efl_add(EFL_UI_BOX_CLASS, navi,
742 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 742 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
743 elm_naviframe_item_push(navi, "Current Page", btn, NULL, 743 elm_naviframe_item_push(navi, "Current Page", btn, NULL,
744 efl_added, NULL)); 744 efl_added, NULL));
745 745
@@ -787,7 +787,7 @@ static void scroll_block_cb(void *data,
787 back_btn_cb, navi)); 787 back_btn_cb, navi));
788 788
789 box = efl_add(EFL_UI_BOX_CLASS, navi, 789 box = efl_add(EFL_UI_BOX_CLASS, navi,
790 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 790 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
791 elm_naviframe_item_push(navi, "Scroll Block", btn, NULL, 791 elm_naviframe_item_push(navi, "Scroll Block", btn, NULL,
792 efl_added, NULL)); 792 efl_added, NULL));
793 793
@@ -826,7 +826,7 @@ static void loop_cb(void *data EINA_UNUSED,
826 back_btn_cb, navi)); 826 back_btn_cb, navi));
827 827
828 box = efl_add(EFL_UI_RADIO_BOX_CLASS, navi, 828 box = efl_add(EFL_UI_RADIO_BOX_CLASS, navi,
829 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 829 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
830 elm_naviframe_item_push(navi, "Loop", btn, NULL, 830 elm_naviframe_item_push(navi, "Loop", btn, NULL,
831 efl_added, NULL)); 831 efl_added, NULL));
832 832
@@ -874,7 +874,7 @@ static void indicator_cb(void *data EINA_UNUSED,
874 back_btn_cb, navi)); 874 back_btn_cb, navi));
875 875
876 box = efl_add(EFL_UI_BOX_CLASS, navi, 876 box = efl_add(EFL_UI_BOX_CLASS, navi,
877 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 877 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
878 elm_naviframe_item_push(navi, "Indicator", btn, NULL, 878 elm_naviframe_item_push(navi, "Indicator", btn, NULL,
879 efl_added, NULL)); 879 efl_added, NULL));
880 880
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index 426d471..40d9891 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -150,7 +150,7 @@ _setter_add(Eo *vbox, Eo *btn, Options option)
150 150
151 hbox = efl_add(EFL_UI_BOX_CLASS, vbox, 151 hbox = efl_add(EFL_UI_BOX_CLASS, vbox,
152 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 152 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
153 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2, EINA_TRUE), 153 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2),
154 efl_pack(vbox, efl_added)); 154 efl_pack(vbox, efl_added));
155 155
156 efl_add(EFL_UI_TEXT_CLASS, hbox, 156 efl_add(EFL_UI_TEXT_CLASS, hbox,
@@ -192,13 +192,13 @@ _button_frame_add(Eo *box, Eo *btn)
192 192
193 vbox = efl_add(EFL_UI_BOX_CLASS, f, 193 vbox = efl_add(EFL_UI_BOX_CLASS, f,
194 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 194 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
195 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2, EINA_TRUE), 195 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2),
196 efl_gfx_hint_margin_set(efl_added, 2, 2, 2, 2), 196 efl_gfx_hint_margin_set(efl_added, 2, 2, 2, 2),
197 efl_content_set(f, efl_added)); 197 efl_content_set(f, efl_added));
198 198
199 hbox = efl_add(EFL_UI_BOX_CLASS, vbox, 199 hbox = efl_add(EFL_UI_BOX_CLASS, vbox,
200 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 200 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
201 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2, EINA_TRUE), 201 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2),
202 efl_pack(vbox, efl_added)); 202 efl_pack(vbox, efl_added));
203 203
204 efl_add(EFL_CANVAS_RECTANGLE_CLASS, hbox, 204 efl_add(EFL_CANVAS_RECTANGLE_CLASS, hbox,
@@ -231,7 +231,7 @@ _button_frame_add(Eo *box, Eo *btn)
231 231
232 hbox = efl_add(EFL_UI_BOX_CLASS, vbox, 232 hbox = efl_add(EFL_UI_BOX_CLASS, vbox,
233 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 233 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
234 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2, EINA_TRUE), 234 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2),
235 efl_pack(vbox, efl_added)); 235 efl_pack(vbox, efl_added));
236 236
237 efl_add(EFL_UI_TEXT_CLASS, hbox, 237 efl_add(EFL_UI_TEXT_CLASS, hbox,
@@ -251,7 +251,7 @@ _button_frame_add(Eo *box, Eo *btn)
251 251
252 hbox = efl_add(EFL_UI_BOX_CLASS, vbox, 252 hbox = efl_add(EFL_UI_BOX_CLASS, vbox,
253 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 253 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
254 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2, EINA_TRUE), 254 efl_gfx_arrangement_content_padding_set(efl_added, 2, 2),
255 efl_pack(vbox, efl_added)); 255 efl_pack(vbox, efl_added));
256 256
257 efl_add(EFL_UI_TEXT_CLASS, hbox, 257 efl_add(EFL_UI_TEXT_CLASS, hbox,
@@ -281,7 +281,7 @@ test_ui_relative_layout(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
281 281
282 vbox = efl_add(EFL_UI_BOX_CLASS, win, 282 vbox = efl_add(EFL_UI_BOX_CLASS, win,
283 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 283 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
284 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 284 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
285 efl_gfx_hint_margin_set(efl_added, 5, 5, 5, 5), 285 efl_gfx_hint_margin_set(efl_added, 5, 5, 5, 5),
286 efl_content_set(win, efl_added)); 286 efl_content_set(win, efl_added));
287 287
@@ -293,7 +293,7 @@ test_ui_relative_layout(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
293 293
294 hbox = efl_add(EFL_UI_BOX_CLASS, f, 294 hbox = efl_add(EFL_UI_BOX_CLASS, f,
295 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 295 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
296 efl_gfx_arrangement_content_padding_set(efl_added, 10, 0, EINA_TRUE), 296 efl_gfx_arrangement_content_padding_set(efl_added, 10, 0),
297 efl_content_set(f, efl_added)); 297 efl_content_set(f, efl_added));
298 298
299 /* contents */ 299 /* contents */
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index 384da6e..a41ab69 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -594,12 +594,12 @@ pack_cb(void *data,
594 back_btn_cb, navi)); 594 back_btn_cb, navi));
595 595
596 box = efl_add(EFL_UI_BOX_CLASS, navi, 596 box = efl_add(EFL_UI_BOX_CLASS, navi,
597 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 597 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
598 elm_naviframe_item_push(navi, "Pack", btn, NULL, 598 elm_naviframe_item_push(navi, "Pack", btn, NULL,
599 efl_added, NULL)); 599 efl_added, NULL));
600 600
601 in_box1 = efl_add(EFL_UI_BOX_CLASS, box, 601 in_box1 = efl_add(EFL_UI_BOX_CLASS, box,
602 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 602 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
603 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 603 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
604 604
605 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1); 605 sp1 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box1);
@@ -611,7 +611,7 @@ pack_cb(void *data,
611 efl_ui_range_value_set(sp1, num); 611 efl_ui_range_value_set(sp1, num);
612 612
613 in_box2 = efl_add(EFL_UI_BOX_CLASS, box, 613 in_box2 = efl_add(EFL_UI_BOX_CLASS, box,
614 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 614 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
615 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 615 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
616 616
617 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2); 617 sp2 = efl_add(EFL_UI_SPIN_BUTTON_CLASS, in_box2);
@@ -781,7 +781,7 @@ active_index_cb(void *data,
781 back_btn_cb, navi)); 781 back_btn_cb, navi));
782 782
783 box = efl_add(EFL_UI_BOX_CLASS, navi, 783 box = efl_add(EFL_UI_BOX_CLASS, navi,
784 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 784 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
785 elm_naviframe_item_push(navi, "Active Index", btn, NULL, 785 elm_naviframe_item_push(navi, "Active Index", btn, NULL,
786 efl_added, NULL)); 786 efl_added, NULL));
787 787
@@ -828,7 +828,7 @@ indicator_cb(void *data,
828 back_btn_cb, navi)); 828 back_btn_cb, navi));
829 829
830 box = efl_add(EFL_UI_BOX_CLASS, navi, 830 box = efl_add(EFL_UI_BOX_CLASS, navi,
831 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 831 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
832 elm_naviframe_item_push(navi, "Indicator", btn, NULL, 832 elm_naviframe_item_push(navi, "Indicator", btn, NULL,
833 efl_added, NULL)); 833 efl_added, NULL));
834 834
diff --git a/src/bin/elementary/test_ui_tab_pager.c b/src/bin/elementary/test_ui_tab_pager.c
index 1f35bf0..62e4e7d 100644
--- a/src/bin/elementary/test_ui_tab_pager.c
+++ b/src/bin/elementary/test_ui_tab_pager.c
@@ -200,7 +200,7 @@ _current_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
200 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi)); 200 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi));
201 201
202 box = efl_add(EFL_UI_BOX_CLASS, navi, 202 box = efl_add(EFL_UI_BOX_CLASS, navi,
203 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 203 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
204 elm_naviframe_item_push(navi, "Current", btn, NULL, efl_added, NULL)); 204 elm_naviframe_item_push(navi, "Current", btn, NULL, efl_added, NULL));
205 205
206 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, box, 206 sp = efl_add(EFL_UI_SPIN_BUTTON_CLASS, box,
@@ -301,7 +301,7 @@ _pack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
301 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi)); 301 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi));
302 302
303 box = efl_add(EFL_UI_BOX_CLASS, navi, 303 box = efl_add(EFL_UI_BOX_CLASS, navi,
304 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 304 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
305 elm_naviframe_item_push(navi, "Pack", btn, NULL, efl_added, NULL)); 305 elm_naviframe_item_push(navi, "Pack", btn, NULL, efl_added, NULL));
306 306
307 /* Pack Begin */ 307 /* Pack Begin */
@@ -329,7 +329,7 @@ _pack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
329 efl_pack_end(box, efl_added)); 329 efl_pack_end(box, efl_added));
330 330
331 in_box = efl_add(EFL_UI_BOX_CLASS, box, 331 in_box = efl_add(EFL_UI_BOX_CLASS, box,
332 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 332 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
333 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 333 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
334 efl_pack_end(box, efl_added)); 334 efl_pack_end(box, efl_added));
335 335
@@ -406,7 +406,7 @@ _unpack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
406 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi)); 406 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi));
407 407
408 box = efl_add(EFL_UI_BOX_CLASS, navi, 408 box = efl_add(EFL_UI_BOX_CLASS, navi,
409 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 409 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
410 elm_naviframe_item_push(navi, "Unpack", btn, NULL, efl_added, NULL)); 410 elm_naviframe_item_push(navi, "Unpack", btn, NULL, efl_added, NULL));
411 411
412 /* Clear */ 412 /* Clear */
@@ -430,7 +430,7 @@ _unpack_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
430 efl_pack_end(box, efl_added)); 430 efl_pack_end(box, efl_added));
431 431
432 in_box = efl_add(EFL_UI_BOX_CLASS, box, 432 in_box = efl_add(EFL_UI_BOX_CLASS, box,
433 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 433 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
434 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL), 434 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL),
435 efl_pack_end(box, efl_added)); 435 efl_pack_end(box, efl_added));
436 436
@@ -500,7 +500,7 @@ _tab_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
500 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi)); 500 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi));
501 501
502 box = efl_add(EFL_UI_BOX_CLASS, navi, 502 box = efl_add(EFL_UI_BOX_CLASS, navi,
503 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 503 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
504 elm_naviframe_item_push(navi, "Tab", btn, NULL, efl_added, NULL)); 504 elm_naviframe_item_push(navi, "Tab", btn, NULL, efl_added, NULL));
505 505
506 label_check = efl_add(EFL_UI_CHECK_CLASS, box); 506 label_check = efl_add(EFL_UI_CHECK_CLASS, box);
@@ -560,7 +560,7 @@ _transition_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
560 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi)); 560 efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _btn_cb, navi));
561 561
562 box = efl_add(EFL_UI_BOX_CLASS, navi, 562 box = efl_add(EFL_UI_BOX_CLASS, navi,
563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10, EINA_TRUE), 563 efl_gfx_arrangement_content_padding_set(efl_added, 10, 10),
564 elm_naviframe_item_push(navi, "Transition", btn, NULL, efl_added, NULL)); 564 elm_naviframe_item_push(navi, "Transition", btn, NULL, efl_added, NULL));
565 565
566 btn = efl_add(EFL_UI_BUTTON_CLASS, box, 566 btn = efl_add(EFL_UI_BUTTON_CLASS, box,
diff --git a/src/bin/elementary/test_ui_table.c b/src/bin/elementary/test_ui_table.c
index 67f7067..bc448bf 100644
--- a/src/bin/elementary/test_ui_table.c
+++ b/src/bin/elementary/test_ui_table.c
@@ -79,7 +79,7 @@ static void
79padding_slider_cb(void *data, const Efl_Event *event) 79padding_slider_cb(void *data, const Efl_Event *event)
80{ 80{
81 int val = elm_slider_value_get(event->object); 81 int val = elm_slider_value_get(event->object);
82 efl_gfx_arrangement_content_padding_set(data, val, val, EINA_TRUE); 82 efl_gfx_arrangement_content_padding_set(data, val, val);
83} 83}
84 84
85static void 85static void
@@ -201,7 +201,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
201 201
202 vbox = efl_add(EFL_UI_BOX_CLASS, win, 202 vbox = efl_add(EFL_UI_BOX_CLASS, win,
203 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 203 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
204 efl_gfx_arrangement_content_padding_set(vbox, 10, 10, EINA_TRUE); 204 efl_gfx_arrangement_content_padding_set(vbox, 10, 10);
205 efl_gfx_hint_weight_set(vbox, 1, 1); 205 efl_gfx_hint_weight_set(vbox, 1, 1);
206 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5); 206 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5);
207 elm_win_resize_object_add(win, vbox); 207 elm_win_resize_object_add(win, vbox);
@@ -222,7 +222,7 @@ test_ui_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
222 hbox = efl_add(EFL_UI_BOX_CLASS, win, 222 hbox = efl_add(EFL_UI_BOX_CLASS, win,
223 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 223 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
224 elm_object_content_set(f, hbox); 224 elm_object_content_set(f, hbox);
225 efl_gfx_arrangement_content_padding_set(hbox, 10, 0, EINA_TRUE); 225 efl_gfx_arrangement_content_padding_set(hbox, 10, 0);
226 226
227 227
228 /* weights radio group */ 228 /* weights radio group */
@@ -570,7 +570,7 @@ test_ui_table_linear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
570 570
571 vbox = efl_add(EFL_UI_BOX_CLASS, win, 571 vbox = efl_add(EFL_UI_BOX_CLASS, win,
572 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 572 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
573 efl_gfx_arrangement_content_padding_set(vbox, 10, 10, EINA_TRUE); 573 efl_gfx_arrangement_content_padding_set(vbox, 10, 10);
574 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5); 574 efl_gfx_hint_margin_set(vbox, 5, 5, 5, 5);
575 elm_win_resize_object_add(win, vbox); 575 elm_win_resize_object_add(win, vbox);
576 efl_gfx_entity_visible_set(vbox, 1); 576 efl_gfx_entity_visible_set(vbox, 1);
@@ -591,7 +591,7 @@ test_ui_table_linear(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
591 hbox = efl_add(EFL_UI_BOX_CLASS, win, 591 hbox = efl_add(EFL_UI_BOX_CLASS, win,
592 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL)); 592 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL));
593 elm_object_content_set(f, hbox); 593 elm_object_content_set(f, hbox);
594 efl_gfx_arrangement_content_padding_set(hbox, 5, 0, EINA_TRUE); 594 efl_gfx_arrangement_content_padding_set(hbox, 5, 0);
595 efl_gfx_entity_visible_set(hbox, 1); 595 efl_gfx_entity_visible_set(hbox, 1);
596 596
597 ico = elm_icon_add(win); 597 ico = elm_icon_add(win);