aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes
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 /data/themes
parentconfig: try to properly update config for popup new align value. (diff)
downloadelementary-5cb356bfecd93dfc377da53cdd8bf14fa1e1106c.tar.gz
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.
Diffstat (limited to 'data/themes')
-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";
fixed: 1 1;
min: 1 1;
rel1.to: "elm.text";
+ rel1.offset: -2 -2;
rel2.to: "elm.text";
+ rel2.offset: 1 1;
text {
font: FN;
size: 10;