summaryrefslogtreecommitdiff
path: root/mobile/widgets/spinner.edc
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2017-03-10 15:47:58 +0900
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-03-09 23:02:05 -0800
commit72c22f1275c591bc2a5bde6107798563e9469108 (patch)
tree40395664150cc1100748fecc9dbbc3d9d6ca950f /mobile/widgets/spinner.edc
parente4c693f3e12a0e0ff29cff46f02a857ac79c7317 (diff)
downloadefl-theme-tizen-mobile-72c22f1275c591bc2a5bde6107798563e9469108.tar.gz
efl-theme-tizen-mobile-72c22f1275c591bc2a5bde6107798563e9469108.tar.bz2
efl-theme-tizen-mobile-72c22f1275c591bc2a5bde6107798563e9469108.zip
Spinner: text button part changed to textblock and give fit option for long text.
Change-Id: I3a8c212e0ebe3404717bbc3ac0a5b7079b572e29
Diffstat (limited to 'mobile/widgets/spinner.edc')
-rw-r--r--mobile/widgets/spinner.edc29
1 files changed, 9 insertions, 20 deletions
diff --git a/mobile/widgets/spinner.edc b/mobile/widgets/spinner.edc
index c656765a..7acd9030 100644
--- a/mobile/widgets/spinner.edc
+++ b/mobile/widgets/spinner.edc
@@ -234,7 +234,7 @@ group { "elm/button/base/spinner/template";
desc { "default";
}
}
- text { "elm.text";
+ textblock { "elm.text";
desc { "default";
rel.to: "base";
}
@@ -879,27 +879,22 @@ group { "elm/button/base/spinner/default";
public sound_disable = 0;
}
parts {
- text { "elm.text";
+ textblock { "elm.text";
scale;
desc { "default";
min: 0 SPINNER_TEXT_HEIGHT_INC;
max: -1 SPINNER_TEXT_HEIGHT_INC;
fixed: 0 1;
rel.to: "base";
- text {
- font: "Tizen:weight=Light";
- size: 106;
- text_class: "tizen";
- }
- color_class:"spinner/default/text";
+ text.style: "entry_single_spinner_textblock_style";
}
desc { "pressed";
inherit: "default";
- color_class:"spinner/default/text_pressed";
+ text.style: "entry_single_spinner_textblock_pressed_style";
}
desc { "disabled";
inherit: "default";
- color_class:"spinner/default/text_disabled";
+ text.style: "entry_single_spinner_textblock_disabled_style";
}
}
spacer { "focus_image";
@@ -1063,28 +1058,22 @@ group { "elm/button/base/spinner/vertical";
inherit: "elm/button/base/spinner/default";
//data.item: "focus_highlight" "on"; // We need to set data item after applying focus_image properly.
parts {
- text { "elm.text";
+ textblock { "elm.text";
scale;
desc { "default";
min: 0 SPINNER_TEXT_HEIGHT_INC;
max: -1 SPINNER_TEXT_HEIGHT_INC;
fixed: 0 1;
rel.to: "base";
- text {
- font: "Tizen:weight=Light";
- size: 106;
- text_class: "tizen";
- ellipsis: -1.0;
- }
- color_class:"spinner/vertical/text";
+ text.style: "entry_single_spinner_vertical_textblock_style";
}
desc { "pressed";
inherit: "default";
- color_class:"spinner/vertical/text_pressed";
+ text.style: "entry_single_spinner_vertical_textblock_pressed_style";
}
desc { "disabled";
inherit: "default" 0.0;
- color_class:"spinner/vertical/text_disabled";
+ text.style: "entry_single_spinner_vertical_textblock_disabled_style";
}
}
}