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)
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 @@
1group { name: "elm/actionslider/base/default"; 1group { name: "elm/actionslider/base/default";
2 styles {
3 style { name: "actionslider_style";
4 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";
5 ENABLED_TEXTBLOCK_TAGS
6 }
7 }
2 images.image: "bevel_in.png" COMP; 8 images.image: "bevel_in.png" COMP;
3 images.image: "button_normal.png" COMP; 9 images.image: "button_normal.png" COMP;
4 images.image: "button_clicked.png" COMP; 10 images.image: "button_clicked.png" COMP;
@@ -42,13 +48,14 @@ group { name: "elm/actionslider/base/default";
42 rel2.to: "bg"; 48 rel2.to: "bg";
43 } 49 }
44 } 50 }
45 part { name: "elm.text.left"; type: TEXT; 51 part { name: "elm.text.left"; type: TEXTBLOCK;
46 effect: SHADOW BOTTOM; 52 effect: SHADOW BOTTOM;
47 scale: 1; 53 scale: 1;
48 description { state: "default" 0.0; 54 description { state: "default" 0.0;
49 color: FN_COL_DEFAULT; 55 color: FN_COL_DEFAULT;
50 color_class: "button_text"; 56 color_class: "button_text";
51 text { font: FN; size: 10; 57 text { style: "actionslider_style";
58 font: FN; size: 10;
52 align: 0.05 0.5; 59 align: 0.05 0.5;
53 min: 1 1; 60 min: 1 1;
54 ellipsis: -1; 61 ellipsis: -1;
@@ -61,15 +68,17 @@ group { name: "elm/actionslider/base/default";
61 color_class: "button_text_disabled"; 68 color_class: "button_text_disabled";
62 } 69 }
63 } 70 }
64 part { name: "elm.text.center"; type: TEXT; 71 part { name: "elm.text.center"; type: TEXTBLOCK;
65 effect: SHADOW BOTTOM; 72 effect: SHADOW BOTTOM;
66 scale: 1; 73 scale: 1;
67 description { state: "default" 0.0; 74 description { state: "default" 0.0;
68 color: FN_COL_DEFAULT; 75 color: FN_COL_DEFAULT;
69 color_class: "check_off_text"; 76 color_class: "check_off_text";
70 text { font: FN; size: 10; 77 text { style: "actionslider_style";
78 font: FN; size: 10;
71 align: 0.5 0.5; 79 align: 0.5 0.5;
72 min: 1 1; 80 min: 1 1;
81 max: 1 1;
73 ellipsis: -1; 82 ellipsis: -1;
74 text_class: "check_off_text"; 83 text_class: "check_off_text";
75 } 84 }
@@ -80,15 +89,16 @@ group { name: "elm/actionslider/base/default";
80 color_class: "button_text_disabled"; 89 color_class: "button_text_disabled";
81 } 90 }
82 } 91 }
83 part { name: "elm.text.right"; type: TEXT; 92 part { name: "elm.text.right"; type: TEXTBLOCK;
84 effect: SHADOW BOTTOM; 93 effect: SHADOW BOTTOM;
85 scale: 1; 94 scale: 1;
86 description { state: "default" 0.0; 95 description { state: "default" 0.0;
87 color: FN_COL_DEFAULT; 96 color: FN_COL_DEFAULT;
88 color_class: "check_off_text"; 97 color_class: "check_off_text";
89 text { font: FN; size: 10; 98 text { style: "actionslider_style";
99 font: FN; size: 10;
90 align: 0.95 0.5; 100 align: 0.95 0.5;
91 min: 1 1; 101 min: 0 1;
92 ellipsis: -1; 102 ellipsis: -1;
93 text_class: "check_off_text"; 103 text_class: "check_off_text";
94 } 104 }
@@ -168,7 +178,7 @@ group { name: "elm/actionslider/base/default";
168 image.border: 5 5 4 6; 178 image.border: 5 5 4 6;
169 } 179 }
170 } 180 }
171 part { name: "elm.text.indicator"; type: TEXT; mouse_events: 0; 181 part { name: "elm.text.indicator"; type: TEXTBLOCK; mouse_events: 0;
172 effect: SHADOW BOTTOM; 182 effect: SHADOW BOTTOM;
173 scale: 1; 183 scale: 1;
174 description { state: "default" 0.0; 184 description { state: "default" 0.0;
@@ -182,7 +192,7 @@ group { name: "elm/actionslider/base/default";
182 } 192 }
183 color: FN_COL_DEFAULT; 193 color: FN_COL_DEFAULT;
184 color_class: "check_off_text"; 194 color_class: "check_off_text";
185 text { 195 text { style: "actionslider_style";
186 font: FN; size: 10; 196 font: FN; size: 10;
187 align: 0.5 0.5; 197 align: 0.5 0.5;
188 min: 0 1; 198 min: 0 1;