summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2020-05-11 14:26:34 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2020-05-12 20:58:48 +0900
commit8d4bd49f70412860d70a89a578b6a2f5c03640c0 (patch)
tree7bfa106a0f3c9d297455bd251d1c0b2729f0362a
parent6ebc42ec362232d2c87cfb6db8cd49575d6e7af8 (diff)
downloadelm-demo-tizen-common-tizen.tar.gz
elm-demo-tizen-common-tizen.tar.bz2
elm-demo-tizen-common-tizen.zip
spinner: set spinner style "vertical"tizen
Since "horizontal" spinner style is not defined in Tizen 6.0 common profile, "vertical" spinner style is set. Change-Id: I8bb6e0ae41fa2f90a9893b8228a057cf9b1a93dd
-rw-r--r--src/spinner.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spinner.c b/src/spinner.c
index b018dd9..0002370 100644
--- a/src/spinner.c
+++ b/src/spinner.c
@@ -38,6 +38,7 @@ create_spinner_view(Evas_Object *parent)
evas_object_show(bx);
sp = elm_spinner_add(bx);
+ elm_object_style_set(sp, "vertical");
elm_spinner_editable_set(sp, EINA_TRUE);
evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, -1.0);
evas_object_size_hint_weight_set(sp, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -47,6 +48,7 @@ create_spinner_view(Evas_Object *parent)
evas_object_smart_callback_add(sp, "delay,changed", delay_changed_cb, NULL);
sp = elm_spinner_add(bx);
+ elm_object_style_set(sp, "vertical");
elm_spinner_label_format_set(sp, "%1.1f units");
elm_spinner_step_set(sp, 1.5);
elm_spinner_wrap_set(sp, EINA_TRUE);
@@ -65,6 +67,7 @@ create_spinner_view(Evas_Object *parent)
evas_object_show(sp);
sp = elm_spinner_add(bx);
+ elm_object_style_set(sp, "vertical");
elm_spinner_min_max_set(sp, 1, 12);
elm_spinner_special_value_add(sp, 1, "January");
elm_spinner_special_value_add(sp, 2, "February");