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