summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-05-13 17:54:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-05-14 15:04:37 +0900
commite87009eac79694a9b7e9403b0e662cb2d14c2f2e (patch)
tree9faa21bce6222f5e1f75652d8756840de4ff5313
parentbb2b204ae77c534ac90dd215446c9d1056240574 (diff)
edc: Also fix frame and button offsets
Since SHADOW adds one pixel padding, the whole object size was calculated with one extra pixel. Let's add it back to keep the overall visual balance of buttons. A few other widgets might visually change after the edje padding fix: - Check (looks better) - Naviframe (smaller height) - E date widget - ... But I did not see anything "weird" that needs fixing.
Diffstat (limited to '')
-rw-r--r--data/themes/edc/elm/button.edc6
-rw-r--r--data/themes/edc/elm/frame.edc6
2 files changed, 6 insertions, 6 deletions
diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc
index 568d5c5da..96adc8cbe 100644
--- a/data/themes/edc/elm/button.edc
+++ b/data/themes/edc/elm/button.edc
@@ -153,7 +153,7 @@ group { name: "elm/button/base/default";
153 rel1.relative: 1.0 0.0; 153 rel1.relative: 1.0 0.0;
154 rel1.to_x: "elm.swallow.content"; 154 rel1.to_x: "elm.swallow.content";
155 rel1.to_y: "base"; 155 rel1.to_y: "base";
156 rel2.offset: -7 -7; 156 rel2.offset: -7 -8;
157 rel2.to: "base"; 157 rel2.to: "base";
158 color_class: "button_text"; 158 color_class: "button_text";
159 color3: 255 255 255 255; 159 color3: 255 255 255 255;
@@ -806,7 +806,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
806 rel1.to_y: "base"; 806 rel1.to_y: "base";
807 rel2.to_y: "base"; 807 rel2.to_y: "base";
808 rel2.to_x: "select_line"; 808 rel2.to_x: "select_line";
809 rel2.offset: -2 -7; 809 rel2.offset: -2 -8;
810 rel2.relative: 0.0 1.0; 810 rel2.relative: 0.0 1.0;
811 text.text_class: "hoversel"; 811 text.text_class: "hoversel";
812 text.ellipsis: -1; 812 text.ellipsis: -1;
@@ -1059,7 +1059,7 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
1059 rel1.relative: 1.0 0.0; 1059 rel1.relative: 1.0 0.0;
1060 rel1.to_x: "elm.swallow.content"; 1060 rel1.to_x: "elm.swallow.content";
1061 rel1.to_y: "base"; 1061 rel1.to_y: "base";
1062 rel2.offset: -7 -7; 1062 rel2.offset: -7 -8;
1063 rel2.to: "base"; 1063 rel2.to: "base";
1064 color_class: "hoversel_text"; 1064 color_class: "hoversel_text";
1065 color3: 255 255 255 255; 1065 color3: 255 255 255 255;
diff --git a/data/themes/edc/elm/frame.edc b/data/themes/edc/elm/frame.edc
index bc2981113..e2e8aa155 100644
--- a/data/themes/edc/elm/frame.edc
+++ b/data/themes/edc/elm/frame.edc
@@ -66,7 +66,7 @@ group { name: "elm/frame/base/default";
66 rel1.offset: 1 2; 66 rel1.offset: 1 2;
67 rel1.to_x: "edge1"; 67 rel1.to_x: "edge1";
68 rel2.relative: 0.0 0.0; 68 rel2.relative: 0.0 0.0;
69 rel2.offset: -2 2; 69 rel2.offset: -2 1;
70 rel2.to_x: "edge2"; 70 rel2.to_x: "edge2";
71 align: 0.0 0.0; 71 align: 0.0 0.0;
72 color: FN_COL_DISABLE; 72 color: FN_COL_DISABLE;
@@ -83,7 +83,7 @@ group { name: "elm/frame/base/default";
83 rel1.relative: 0.0 1.0; 83 rel1.relative: 0.0 1.0;
84 rel1.offset: 5 0; 84 rel1.offset: 5 0;
85 rel1.to_y: "elm.text"; 85 rel1.to_y: "elm.text";
86 rel2.offset: -6 -6; 86 rel2.offset: -6 -7;
87 } 87 }
88 } 88 }
89 part { name: "elm.swallow.content"; type: SWALLOW; 89 part { name: "elm.swallow.content"; type: SWALLOW;
@@ -93,7 +93,7 @@ group { name: "elm/frame/base/default";
93 rel1.relative: 0.0 1.0; 93 rel1.relative: 0.0 1.0;
94 rel1.offset: 5 0; 94 rel1.offset: 5 0;
95 rel1.to_y: "elm.text"; 95 rel1.to_y: "elm.text";
96 rel2.offset: -6 -6; 96 rel2.offset: -6 -7;
97 } 97 }
98 description { state: "collapsed" 0.0; 98 description { state: "collapsed" 0.0;
99 inherit: "default" 0.0; 99 inherit: "default" 0.0;