discomfitor pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=537cbd73ee36890aa26a7727702fa844532eec73

commit 537cbd73ee36890aa26a7727702fa844532eec73
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Aug 21 10:16:58 2017 -0400

    theme: fix dialog sizing when no buttons are present
    
    ensure that the content is used for min sizing and not the icon
    
    @fix
---
 data/elementary/themes/edc/dialog.edc | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/data/elementary/themes/edc/dialog.edc 
b/data/elementary/themes/edc/dialog.edc
index 514621efdb..c31ea34f42 100644
--- a/data/elementary/themes/edc/dialog.edc
+++ b/data/elementary/themes/edc/dialog.edc
@@ -41,9 +41,9 @@ group { name: "e/widgets/dialog/main";
             align: 0.0 0.5;
             rel1.relative: 0.0 0.0;
             rel1.offset: 4 4;
-            rel2.relative: 0.0 0.0;
-            rel2.offset: 4 -8;
-            rel2.to_y: "e.swallow.buttons";
+            rel2.relative: 0.0 1.0;
+            rel2.offset: -1 0;
+            rel2.to_y: "button.spacer";
             fixed: 1 0;
             visible: 0;
          }
@@ -56,7 +56,7 @@ group { name: "e/widgets/dialog/main";
          description { state: "default" 0.0;
             rel1.offset: 4 4;
             rel1.to_x: "base";
-            rel2.to: "button.spacer";
+            rel2.to_y: "button.spacer";
          }
          description { state: "icon" 0.0;
             inherit: "default" 0.0;
@@ -73,6 +73,7 @@ group { name: "e/widgets/dialog/main";
          }
          desc { "hid";
             link.base: "e,state,buttons,off" "e";
+            minmul: 0 0;
          }
       }
       part { name: "e.swallow.buttons"; type: SWALLOW;

-- 


Reply via email to