discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=01d27333b0e1169b2fbcde4cc530fdf96e552344

commit 01d27333b0e1169b2fbcde4cc530fdf96e552344
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Apr 9 16:16:33 2015 -0400

    force dialogs to recalc content sizes before setting min size
---
 src/bin/e_dialog.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c
index 8c1de98..827c8b0 100644
--- a/src/bin/e_dialog.c
+++ b/src/bin/e_dialog.c
@@ -206,6 +206,8 @@ e_dialog_content_set(E_Dialog *dia, Evas_Object *obj, 
Evas_Coord minw, Evas_Coor
    e_widget_on_focus_hook_set(obj, _e_dialog_cb_wid_on_focus, dia);
    evas_object_size_hint_min_set(obj, minw, minh);
    elm_object_part_content_set(dia->bg_object, "e.swallow.content", obj);
+   elm_layout_sizing_eval(dia->bg_object);
+   evas_object_smart_calculate(dia->bg_object);
    evas_object_size_hint_min_get(dia->bg_object, &mw, &mh);
    evas_object_resize(dia->win, mw, mh);
    dia->min_w = mw;

-- 


Reply via email to