summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elc_popup.c')
-rw-r--r--src/lib/elementary/elc_popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 634eb18..b0478f9 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -457,14 +457,14 @@ _elm_popup_elm_layout_sizing_eval(Eo *obj, Elm_Popup_Data *sd)
457 EINA_LIST_FOREACH(sd->items, elist, it) 457 EINA_LIST_FOREACH(sd->items, elist, it)
458 { 458 {
459 _item_sizing_eval(it); 459 _item_sizing_eval(it);
460 efl_gfx_size_hint_combined_min_get(elm_layout_edje_get(VIEW(it)), 460 evas_object_size_hint_combined_min_get(elm_layout_edje_get(VIEW(it)),
461 NULL, &minh_box); 461 NULL, &minh_box);
462 if (minh_box != -1) h_box += minh_box; 462 if (minh_box != -1) h_box += minh_box;
463 } 463 }
464 evas_object_size_hint_min_set(sd->spacer, 0, MIN(h_box, sd->max_sc_h)); 464 evas_object_size_hint_min_set(sd->spacer, 0, MIN(h_box, sd->max_sc_h));
465 evas_object_size_hint_max_set(sd->spacer, -1, sd->max_sc_h); 465 evas_object_size_hint_max_set(sd->spacer, -1, sd->max_sc_h);
466 466
467 efl_gfx_size_hint_combined_min_get(sd->scr, &minw, &minh); 467 evas_object_size_hint_combined_min_get(sd->scr, &minw, &minh);
468 evas_object_size_hint_max_get(sd->scr, &minw, &minh); 468 evas_object_size_hint_max_get(sd->scr, &minw, &minh);
469 } 469 }
470 else if (sd->scroll) 470 else if (sd->scroll)