diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-18 14:35:22 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-18 14:42:52 +0900 |
commit | 3bff7363b54b541aa78d8ed0f743631582086a95 (patch) | |
tree | 52e4cdf991bc97b05815352a08b65bbf3d559dc3 /src/bin/elementary/test_ui_textpath.c | |
parent | d24dcb3c24d619d7f268d227b3fb5eac44993cdd (diff) | |
download | efl-3bff7363b54b541aa78d8ed0f743631582086a95.tar.gz |
efl: Use Eina.Size2D for size hint min
Diffstat (limited to 'src/bin/elementary/test_ui_textpath.c')
-rw-r--r-- | src/bin/elementary/test_ui_textpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_textpath.c b/src/bin/elementary/test_ui_textpath.c index d4f9b4d3c1..9b27cdb7ac 100644 --- a/src/bin/elementary/test_ui_textpath.c +++ b/src/bin/elementary/test_ui_textpath.c @@ -146,7 +146,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve elm_slider_value_set(sld, 0); efl_gfx_size_hint_align_set(sld, 0.5, EFL_GFX_SIZE_HINT_FILL); efl_gfx_size_hint_weight_set(sld, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); - efl_gfx_size_hint_min_set(sld, 150, 0); + efl_gfx_size_hint_min_set(sld, EINA_SIZE2D(150, 0)); efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _angle_changed_cb, txtpath); elm_box_pack_end(hbox, sld); efl_gfx_visible_set(sld, EINA_TRUE); @@ -158,7 +158,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve elm_slider_value_set(sld, 99); efl_gfx_size_hint_align_set(sld, 0.5, EFL_GFX_SIZE_HINT_FILL); efl_gfx_size_hint_weight_set(sld, EFL_GFX_SIZE_HINT_EXPAND, EFL_GFX_SIZE_HINT_EXPAND); - efl_gfx_size_hint_min_set(sld, 150, 0); + efl_gfx_size_hint_min_set(sld, EINA_SIZE2D(150, 0)); efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _slice_no_changed_cb, txtpath); elm_box_pack_end(hbox, sld); efl_gfx_visible_set(sld, EINA_TRUE); |