Compare commits

...

1 Commits

Author SHA1 Message Date
Daniel Hirt f3524cddd2 elm: use TEXTBLOCK for actionslider 2017-07-26 22:06:16 +03:00
1 changed files with 19 additions and 9 deletions

View File

@ -1,4 +1,10 @@
group { name: "elm/actionslider/base/default";
styles {
style { name: "actionslider_style";
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 text_class=entry_text color_class=entry_text left_margin=2 right_margin=2 align=center";
ENABLED_TEXTBLOCK_TAGS
}
}
images.image: "bevel_in.png" COMP;
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
@ -42,13 +48,14 @@ group { name: "elm/actionslider/base/default";
rel2.to: "bg";
}
}
part { name: "elm.text.left"; type: TEXT;
part { name: "elm.text.left"; type: TEXTBLOCK;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "button_text";
text { font: FN; size: 10;
text { style: "actionslider_style";
font: FN; size: 10;
align: 0.05 0.5;
min: 1 1;
ellipsis: -1;
@ -61,15 +68,17 @@ group { name: "elm/actionslider/base/default";
color_class: "button_text_disabled";
}
}
part { name: "elm.text.center"; type: TEXT;
part { name: "elm.text.center"; type: TEXTBLOCK;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text { font: FN; size: 10;
text { style: "actionslider_style";
font: FN; size: 10;
align: 0.5 0.5;
min: 1 1;
max: 1 1;
ellipsis: -1;
text_class: "check_off_text";
}
@ -80,15 +89,16 @@ group { name: "elm/actionslider/base/default";
color_class: "button_text_disabled";
}
}
part { name: "elm.text.right"; type: TEXT;
part { name: "elm.text.right"; type: TEXTBLOCK;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text { font: FN; size: 10;
text { style: "actionslider_style";
font: FN; size: 10;
align: 0.95 0.5;
min: 1 1;
min: 0 1;
ellipsis: -1;
text_class: "check_off_text";
}
@ -168,7 +178,7 @@ group { name: "elm/actionslider/base/default";
image.border: 5 5 4 6;
}
}
part { name: "elm.text.indicator"; type: TEXT; mouse_events: 0;
part { name: "elm.text.indicator"; type: TEXTBLOCK; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
@ -182,7 +192,7 @@ group { name: "elm/actionslider/base/default";
}
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text {
text { style: "actionslider_style";
font: FN; size: 10;
align: 0.5 0.5;
min: 0 1;