summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_pager_scroll.c
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/elementary/test_ui_pager_scroll.c
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/elementary/test_ui_pager_scroll.c')
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c18
1 files changed, 9 insertions, 9 deletions
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