} \
description { state: "rename_visible" 0.0; \
inherit: "default" 0.0; \
- min: 5 0; \
- max: 5 0; \
+ min: 9 0; \
+ max: 9 0; \
rel1 { \
to_x: "elm.swallow.rename"; \
relative: 0.0 0.0; \
} \
description { state: "clear_visible" 0.0; \
inherit: "default" 0.0; \
- min: 5 0; \
- max: 5 0; \
+ min: 9 0; \
+ max: 9 0; \
rel1 { \
to_x: "elm.swallow.clear"; \
relative: 0.0 0.0; \
}
description { state: "rename_visible" 0.0;
inherit: "default" 0.0;
- min: 5 0;
- max: 5 0;
+ min: 9 0;
+ max: 9 0;
rel1 {
to_x: "elm.swallow.rename";
relative: 0.0 0.0;
description { state: "clear_visible" 0.0;
inherit: "default" 0.0;
align: 1.0 1.0;
- min: 5 0;
- max: 5 0;
+ min: 9 0;
+ max: 9 0;
rel1 {
to_x: "elm.swallow.clear";
relative: 0.0 0.0;
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
- rel1.to: "elm.swallow.icon";
+ rel1.to: "icon_right_padding";
rel1.relative: 1.0 0.0;
rel2.to: "editfield_space";
rel2.relative: 0.0 1.0;
visible: 1;
}
}
+ part { name: "icon_right_padding";
+ type: SPACER;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ min: 0 0;
+ max: 0 0;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 1.0;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 8 0;
+ max: 8 0;
+ }
+ }
part { name: "elm.swallow.clear";
type: SWALLOW;
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
- to: "elm.swallow.icon";
+ to_x: "icon_right_padding";
relative: 1.0 0.0;
}
rel2 {
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
+ target: "icon_right_padding";
}
program { name: "icon_hide";
signal: "elm,action,hide,icon";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
+ target: "icon_right_padding";
}
program { name: "clear_show";
signal: "elm,state,clear,visible";