forked from enlightenment/efl
elm_spinner: style fix
Summary: spinner don't changes its size after showing entry. Entry is now clipped to area between arrows. Test Plan: 1. Run "elementary_test spinner" 2. Click on top spinner. It shouldn't resize 3. Type very long number. It shouldn't overlaps arrows. Reviewers: Hermet, raster, seoz, cedric Subscribers: raster, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1509
This commit is contained in:
parent
9c26cdf25a
commit
cdae7dedc8
|
@ -1,6 +1,12 @@
|
|||
group { name: "elm/spinner/base/default";
|
||||
images.image: "vert_bar_inset.png" COMP;
|
||||
parts {
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.text_button";
|
||||
rel2.to: "elm.swallow.text_button";
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: SPACER;
|
||||
scale: 1;
|
||||
|
@ -34,8 +40,9 @@ group { name: "elm/spinner/base/default";
|
|||
}
|
||||
part { name: "elm.swallow.entry";
|
||||
type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "elm.swallow.text_button";
|
||||
rel2.to: "elm.swallow.text_button";
|
||||
visible: 0;
|
||||
|
|
Loading…
Reference in New Issue