summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-15 18:15:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-15 18:15:50 +0900
commit5cb356bfecd93dfc377da53cdd8bf14fa1e1106c (patch)
treee111e69a771270f709f24938053d44f1d9d5b9ae
parentb2a0b45cad0d72d8f7c95cb1078738d8f5ab2094 (diff)
SegmentControl: Fix theme to avoid text move on select
GLOW and SHADOW_BOTTOM have different paddings, which changes the geometry of the object. This compensates that.
-rw-r--r--data/themes/edc/elm/segment_control.edc2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/themes/edc/elm/segment_control.edc b/data/themes/edc/elm/segment_control.edc
index 82139657f..66f0b738a 100644
--- a/data/themes/edc/elm/segment_control.edc
+++ b/data/themes/edc/elm/segment_control.edc
@@ -211,7 +211,9 @@ group { name: "elm/segment_control/item/default";
211 fixed: 1 1; 211 fixed: 1 1;
212 min: 1 1; 212 min: 1 1;
213 rel1.to: "elm.text"; 213 rel1.to: "elm.text";
214 rel1.offset: -2 -2;
214 rel2.to: "elm.text"; 215 rel2.to: "elm.text";
216 rel2.offset: 1 1;
215 text { 217 text {
216 font: FN; 218 font: FN;
217 size: 10; 219 size: 10;