discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0a1733ba9a9eb2b690a458408ccd1f1105c59430

commit 0a1733ba9a9eb2b690a458408ccd1f1105c59430
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Jan 30 12:54:16 2017 +0900

    e dialog - fix unreszable dialogs to not be 1x1
    
    so i see non-resizable dialogs end up 1x1... this fixes that.
---
 src/bin/e_dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c
index 2b0435b..b8c385e 100644
--- a/src/bin/e_dialog.c
+++ b/src/bin/e_dialog.c
@@ -257,7 +257,7 @@ e_dialog_show(E_Dialog *dia)
    if (!dia->resizable)
      {
         evas_object_size_hint_weight_set(dia->bg_object, 0, 0);
-        evas_object_size_hint_max_set(dia->bg_object, mw, mh);
+        e_util_win_auto_resize_fill(dia->win);
      }
    else
      {

-- 


Reply via email to