discomfitor pushed a commit to branch efl-1.20. http://git.enlightenment.org/core/efl.git/commit/?id=d9e35ce72502ce8606fadbc3c86894fb1ed22a77
commit d9e35ce72502ce8606fadbc3c86894fb1ed22a77 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri Aug 18 15:24:51 2017 -0400 theme: handle e dialog sizing when no buttons are present @fix --- data/elementary/themes/edc/dialog.edc | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/data/elementary/themes/edc/dialog.edc b/data/elementary/themes/edc/dialog.edc index 8e947e849e..514621efdb 100644 --- a/data/elementary/themes/edc/dialog.edc +++ b/data/elementary/themes/edc/dialog.edc @@ -29,6 +29,11 @@ group { name: "e/widgets/dialog/main"; image.normal: "separator_horiz.png"; fill.smooth: 0; fixed: 0 1; + link.base: "e,state,buttons,on" "e"; + } + desc { "hid"; hid; + image.normal: "separator_horiz.png"; + link.base: "e,state,buttons,off" "e"; } } part { name: "e.swallow.icon"; type: SWALLOW; @@ -51,9 +56,7 @@ group { name: "e/widgets/dialog/main"; description { state: "default" 0.0; rel1.offset: 4 4; rel1.to_x: "base"; - rel2.relative: 1.0 0.0; - rel2.offset: -5 -8; - rel2.to_y: "e.swallow.buttons"; + rel2.to: "button.spacer"; } description { state: "icon" 0.0; inherit: "default" 0.0; @@ -61,6 +64,17 @@ group { name: "e/widgets/dialog/main"; rel1.to_x: "e.swallow.icon"; } } + spacer { "button.spacer"; + desc { + rel2.relative: 1.0 0.0; + rel2.offset: -5 -8; + rel2.to_y: "e.swallow.buttons"; + link.base: "e,state,buttons,on" "e"; + } + desc { "hid"; + link.base: "e,state,buttons,off" "e"; + } + } part { name: "e.swallow.buttons"; type: SWALLOW; description { state: "default" 0.0; align: 0.5 1.0; @@ -70,6 +84,7 @@ group { name: "e/widgets/dialog/main"; rel2.offset: -5 -5; fixed: 0 1; } + desc { "hid"; hid; } } } programs { --