From: Daniel Juyung Seo Date: Wed, 26 Nov 2014 11:47:58 +0000 (+0900) Subject: test_3d: Set indicator format explictly. X-Git-Tag: v1.13.0-alpha1~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5e377412a5135ccf1cccc98446385259b16c48e;p=platform%2Fupstream%2Felementary.git test_3d: Set indicator format explictly. Indicator text is not visible if one does not set the indicator format. This fixes T1867. --- diff --git a/src/bin/test_3d.c b/src/bin/test_3d.c index 35801e1..a19e6e4 100644 --- a/src/bin/test_3d.c +++ b/src/bin/test_3d.c @@ -242,6 +242,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "Rot X"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, 0, 360); evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); @@ -253,6 +254,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "Rot Y"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, 0, 360); evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); @@ -264,6 +266,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "Rot Z"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, 0, 360); evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); @@ -275,6 +278,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "CX Off"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, -320, 320); elm_slider_value_set(sl, cxo); @@ -287,6 +291,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "CY Off"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, -320, 320); elm_slider_value_set(sl, cyo); @@ -299,6 +304,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "Foc"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, 1, 2000); elm_slider_value_set(sl, focv); @@ -311,6 +317,7 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E sl = elm_slider_add(win); elm_object_text_set(sl, "Z0"); elm_slider_unit_format_set(sl, "%1.0f units"); + elm_slider_indicator_format_set(sl, "%1.0f units"); elm_slider_span_size_set(sl, 360); elm_slider_min_max_set(sl, -2000, 2000); elm_slider_value_set(sl, z0v);