summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-18 15:24:51 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-18 15:24:37 -0400
commitdae39821d9b4fa463861a8a4cada4afbf8004834 (patch)
treecb584e3bcdeece3960b1c5db63510422443c6ca7 /data
parent850bba4986e16e3b52dedb263fddf8b7fdc3fc5c (diff)
theme: handle e dialog sizing when no buttons are present
@fix
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/dialog.edc21
1 files 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";
29 image.normal: "separator_horiz.png"; 29 image.normal: "separator_horiz.png";
30 fill.smooth: 0; 30 fill.smooth: 0;
31 fixed: 0 1; 31 fixed: 0 1;
32 link.base: "e,state,buttons,on" "e";
33 }
34 desc { "hid"; hid;
35 image.normal: "separator_horiz.png";
36 link.base: "e,state,buttons,off" "e";
32 } 37 }
33 } 38 }
34 part { name: "e.swallow.icon"; type: SWALLOW; 39 part { name: "e.swallow.icon"; type: SWALLOW;
@@ -51,9 +56,7 @@ group { name: "e/widgets/dialog/main";
51 description { state: "default" 0.0; 56 description { state: "default" 0.0;
52 rel1.offset: 4 4; 57 rel1.offset: 4 4;
53 rel1.to_x: "base"; 58 rel1.to_x: "base";
54 rel2.relative: 1.0 0.0; 59 rel2.to: "button.spacer";
55 rel2.offset: -5 -8;
56 rel2.to_y: "e.swallow.buttons";
57 } 60 }
58 description { state: "icon" 0.0; 61 description { state: "icon" 0.0;
59 inherit: "default" 0.0; 62 inherit: "default" 0.0;
@@ -61,6 +64,17 @@ group { name: "e/widgets/dialog/main";
61 rel1.to_x: "e.swallow.icon"; 64 rel1.to_x: "e.swallow.icon";
62 } 65 }
63 } 66 }
67 spacer { "button.spacer";
68 desc {
69 rel2.relative: 1.0 0.0;
70 rel2.offset: -5 -8;
71 rel2.to_y: "e.swallow.buttons";
72 link.base: "e,state,buttons,on" "e";
73 }
74 desc { "hid";
75 link.base: "e,state,buttons,off" "e";
76 }
77 }
64 part { name: "e.swallow.buttons"; type: SWALLOW; 78 part { name: "e.swallow.buttons"; type: SWALLOW;
65 description { state: "default" 0.0; 79 description { state: "default" 0.0;
66 align: 0.5 1.0; 80 align: 0.5 1.0;
@@ -70,6 +84,7 @@ group { name: "e/widgets/dialog/main";
70 rel2.offset: -5 -5; 84 rel2.offset: -5 -5;
71 fixed: 0 1; 85 fixed: 0 1;
72 } 86 }
87 desc { "hid"; hid; }
73 } 88 }
74 } 89 }
75 programs { 90 programs {