summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_table.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_table.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 '')
-rw-r--r--src/bin/elementary/test_ui_table.c10
1 files changed, 5 insertions, 5 deletions
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);