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.
This commit is contained in:
Jean-Philippe Andre 2016-01-15 18:15:50 +09:00
parent 73a2d0e231
commit 3d62767f18
1 changed files with 2 additions and 0 deletions

View File

@ -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;