}
}
part {
- name: "padding_left";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- min: 10 5;
- fixed: 1 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_right";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 0.0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_top";
+ name: "padding_left_top";
type: RECT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- min: 5 8;
- fixed: 0 1;
- color: 0 0 0 0;
+ rel2.relative: 0.0 0.0;
+ min: 10 8;
+ fixed: 1 1;
+ visible: 0;
}
}
part {
- name: "padding_bottom";
+ name: "padding_right_bottom";
type: RECT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 1.0;
- rel1.relative: 0.0 1.0;
+ rel1.relative: 1.0 1.0;
rel2.relative: 1.0 1.0;
- min: 5 8;
- fixed: 0 1;
- color: 0 0 0 0;
+ min: 10 8;
+ fixed: 1 1;
+ visible: 0;
}
}
part {
visible: 1;
min: 0 0;
fixed: 0 1;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
- rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top"; }
+ rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_right_bottom"; to_y: "padding_left_top"; }
align: 0.5 0.0;
color: 0 0 0 0;
}
visible: 1;
min: 44 44;
fixed: 0 1;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
- rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top"; }
+ rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_right_bottom"; to_y: "padding_left_top"; }
align: 0.5 0.0;
color: 0 0 0 0;
}
mouse_events: 0;
description { state: "default" 0.0; //when only icon or no icon is there
align: 0.5 1.0;
- rel1 { relative: 1.0 0.0; to_x: "padding_left"; to_y: "elm.text"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y: "elm.text"; }
+ rel1 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "elm.text"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding_right_bottom"; to_y: "elm.text"; }
fixed: 0 1;
min: 0 0;
color: 0 0 0 0;
description { state: "default" 0.0;
visible: 0;
align: 0.5 0.0;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
- rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top"; }
+ rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_right_bottom"; to_y: "padding_left_top"; }
fixed: 0 1;
}
description { state: "visible" 0.0;
min: 44 44;
max: 44 44;
align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_before_text"; }
+ rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding_right_bottom"; to_y: "padding_before_text"; }
aspect: 1.0 1.0;
aspect_preference: HORIZONTAL;
}
visible: 1;
min: 44 44;
max: 44 44;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
+ rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
+ rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
align: 0.5 0.5;
aspect: 1.0 1.0;
aspect_preference: HORIZONTAL;
clip_to: "disabler";
description { state: "default" 0.0;
visible: 0;
- rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_after_icon"; }
- rel2 { relative: 0.0 1.0; to_x: "padding_right"; }
+ rel1 { relative: 1.0 1.0; to_x: "padding_left_top"; to_y: "padding_after_icon"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_right_bottom"; }
align: 0.5 0.5;
color: 255 255 255 255;
text {