summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-07-26 20:00:03 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-07-26 22:06:16 +0300
commitf3524cddd2cfa679511ed42897263136b49b0213 (patch)
treec28364e3a4d8271225ca79b4fe74dde86b7276e6
parent01a693412fa0209307e0a3f69031f25bb115168c (diff)
downloadefl-devs/herdsman/tmp.tar.gz
elm: use TEXTBLOCK for actionsliderdevs/herdsman/tmp
-rw-r--r--data/elementary/themes/edc/elm/actionslider.edc28
1 files changed, 19 insertions, 9 deletions
diff --git a/data/elementary/themes/edc/elm/actionslider.edc b/data/elementary/themes/edc/elm/actionslider.edc
index dc382c24bd..e8cfa4b015 100644
--- a/data/elementary/themes/edc/elm/actionslider.edc
+++ b/data/elementary/themes/edc/elm/actionslider.edc
@@ -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;