aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-10-22 20:19:12 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-10-22 20:19:12 -0200
commitb7e6a7b2b47eade02eedaf7783e6e8750de3d395 (patch)
treed51df3136cb665076fa39c413bb1ca9ea6d69a37
parentelm: efl_ui_list avoiding layout'ing without size min calc calculated (diff)
downloadefl-devs/felipealmeida/efl-ui-list-segarray.tar.gz
elm: efl_ui_list_precise_layout use hint_combined_min_getdevs/felipealmeida/efl-ui-list-segarray
-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)
{