summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2016-01-20 21:29:12 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-01-20 21:29:12 +0900
commit6160e8bcd6d8ad38574bbde9445c6be2cd6bb956 (patch)
treec1d98db1c4809eb75cb0f2c8a9e607efae6eb497 /data
parent163d1c8b88fc613a4700cecc93f83f7136da0873 (diff)
downloadelementary-6160e8bcd6d8ad38574bbde9445c6be2cd6bb956.tar.gz
elm_hoversel: fix calculation to make items fit to dropdown box
Summary: While applying scroller on hoversel, several lines for item size calculation were added, but they failed to have item get proper size. Now redundant codes are removed and some are fixed, and hoversel will be shown more well-ordered. Test Plan: elementary_test hoversel Reviewers: jpeg, raster, cedric Differential Revision: https://phab.enlightenment.org/D3589
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/elm/hover.edc10
1 files changed, 7 insertions, 3 deletions
diff --git a/data/themes/edc/elm/hover.edc b/data/themes/edc/elm/hover.edc
index cce316aec..74757f8f4 100644
--- a/data/themes/edc/elm/hover.edc
+++ b/data/themes/edc/elm/hover.edc
@@ -607,7 +607,9 @@ group { name: "elm/hover/base/hoversel_vertical/default";
rel1.offset: 0 -1;
rel2.to: "elm.swallow.slot.middle";
rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
+ /* set negative offset along x axis not to make
+ "select_line" part exceed parent's width */
+ rel2.offset: -9 -1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
@@ -636,10 +638,12 @@ group { name: "elm/hover/base/hoversel_vertical/default";
align: 0.0 1.0;
rel1.to: "elm.swallow.slot.middle";
rel1.relative: 0.0 1.0;
- rel1.offset: 0 2;
+ rel1.offset: 0 0;
rel2.to: "elm.swallow.slot.middle";
rel2.relative: 1.0 1.0;
- rel2.offset: -1 2;
+ /* set negative offset along x axis not to make
+ "select_line" part exceed parent's width */
+ rel2.offset: -9 2;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;