aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_progressbar.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-10 16:24:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-10 16:44:35 +0900
commitd26f2237f18cf9408265a867bbba4027fc6e94a1 (patch)
treeabf2890a9038016930e5b23efb7a365f8dfea40e /src/bin/elementary/test_progressbar.c
parentefl ui progressbar - no space between value and percent in default fmt (diff)
downloadefl-d26f2237f18cf9408265a867bbba4027fc6e94a1.tar.gz
elm progressbar - fix val set
set initial min and max to 0 and 1 respectively so val set works at the start... fixes https://phab.enlightenment.org/T6697 @fix
Diffstat (limited to 'src/bin/elementary/test_progressbar.c')
-rw-r--r--src/bin/elementary/test_progressbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_progressbar.c b/src/bin/elementary/test_progressbar.c
index 371c902bf0..0ac8fdf892 100644
--- a/src/bin/elementary/test_progressbar.c
+++ b/src/bin/elementary/test_progressbar.c
@@ -172,7 +172,7 @@ test_progressbar(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(hbx, pb);
elm_progressbar_unit_format_set(pb, form);
- elm_progressbar_value_set(pb, 0.5);
+ elm_progressbar_value_set(pb, .50);
elm_object_text_set(pb, "percent");
evas_object_show(pb);
pd->pb4 = pb;