aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-08-08 12:01:08 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-08-14 20:20:39 +0300
commitb0eda2030d3bd000873d65a365266ee9050c2fab (patch)
tree8204d565f08e6a77358fe5e9881ef29358154a69
parentslider.edcc: port to TEXTBLOCK (diff)
downloadefl-b0eda2030d3bd000873d65a365266ee9050c2fab.tar.gz
segment_control.edc: port to TEXTBLOCK
-rw-r--r--data/elementary/themes/edc/elm/segment_control.edc30
1 files changed, 21 insertions, 9 deletions
diff --git a/data/elementary/themes/edc/elm/segment_control.edc b/data/elementary/themes/edc/elm/segment_control.edc
index fff8d5d038..05da62d5da 100644
--- a/data/elementary/themes/edc/elm/segment_control.edc
+++ b/data/elementary/themes/edc/elm/segment_control.edc
@@ -22,6 +22,12 @@ group { name: "elm/segment_control/base/default";
}
}
group { name: "elm/segment_control/item/default";
+ styles {
+ style { name: "button_white_glow_style";
+ base: STL_COL_WHITE_GLOW" style=glow text_class=button ellipsis=1.0";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ }
images {
image: "day_single_press.png" COMP;
image: "day_single_selected.png" COMP;
@@ -166,10 +172,10 @@ group { name: "elm/segment_control/item/default";
}
}
part { name: "elm.text";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
- effect: SHADOW BOTTOM;
+ //effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 0;
@@ -181,12 +187,14 @@ group { name: "elm/segment_control/item/default";
offset: 0 -1;
}
rel2.offset: -6 -2;
- color: FN_COL_DEFAULT;
+ //color: FN_COL_DEFAULT;
text {
+ style: "button_style";
font: FN;
size: 10;
min: 0 1;
- text_class: "button";
+ //text_class: "button";
+ ellipsis: 1.0;
}
}
description { state: "normal" 0.0;
@@ -200,14 +208,16 @@ group { name: "elm/segment_control/item/default";
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
- color: FN_COL_DISABLE;
+ text.style: "button_disabled_style";
+ text.ellipsis: 1.0;
+ //color: FN_COL_DISABLE;
}
}
part { name: "text2";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
- effect: GLOW;
+ //effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
@@ -218,13 +228,15 @@ group { name: "elm/segment_control/item/default";
rel2.to: "elm.text";
rel2.offset: 1 1;
text {
+ style: "button_white_glow_style";
font: FN;
size: 10;
min: 0 1;
text_source: "elm.text";
- text_class: "button";
+ //text_class: "button";
+ ellipsis: 1.0;
}
- color: FN_COL_WHITE_GLOW;
+ //color: FN_COL_WHITE_GLOW;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;