aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-10-22 20:19:12 -0200
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>2017-11-15 17:06:45 +0900
commitf7294372c2bb5df5ba46a1d66c390d84a5c924e9 (patch)
treec07dc9d783389dbf9331e68aaceb25cd576341ee
parentelm: efl_ui_list avoiding layout'ing without size min calc calculated (diff)
downloadefl-f7294372c2bb5df5ba46a1d66c390d84a5c924e9.tar.gz
elm: efl_ui_list_precise_layout use hint_combined_min_get
-rw-r--r--src/lib/elementary/efl_ui_list_precise_layouter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_list_precise_layouter.c b/src/lib/elementary/efl_ui_list_precise_layouter.c
index 6ea2d183cc..f6d7440a41 100644
--- a/src/lib/elementary/efl_ui_list_precise_layouter.c
+++ b/src/lib/elementary/efl_ui_list_precise_layouter.c
@@ -137,7 +137,10 @@ _efl_ui_list_precise_layouter_efl_ui_list_relayout_layout_do
/* } */
size = calloc(1, sizeof(Efl_Ui_List_Precise_Layouter_Size));
- edje_object_size_min_calc(layout_item->layout, &size->min_width, &size->min_height);
+ Eina_Size2D min = efl_gfx_size_hint_combined_min_get(layout_item->layout);
+ //edje_object_size_min_calc(layout_item->layout, &size->min_width, &size->min_height);
+ size->min_width = min.w;
+ size->min_height = min.h;
if(size->min_width && size->min_height)
{