summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-10 14:40:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-10 16:44:03 +0900
commit1d5de2e58e37592bd0348ce182fb3fa5e84fce2e (patch)
treef596a9ad5be5e0a21000a4b1fb3364dfaa5b090b
parentdc8da37878d143ff41986cf2aeb486d0d8f0284d (diff)
efl ui progressbar - no space between value and percent in default fmt
do you write 20 % or 20% ? :) no space by default. fix.
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index 4506c5941d..4ebb7b921d 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -378,7 +378,7 @@ _efl_ui_progressbar_efl_canvas_group_group_add(Eo *obj, Efl_Ui_Progressbar_Data
378 378
379 free(group); 379 free(group);
380 380
381 efl_ui_format_string_set(obj, "%.0f %%"); 381 efl_ui_format_string_set(obj, "%.0f%%");
382 382
383 priv->spacer = evas_object_rectangle_add(evas_object_evas_get(obj)); 383 priv->spacer = evas_object_rectangle_add(evas_object_evas_get(obj));
384 evas_object_color_set(priv->spacer, 0, 0, 0, 0); 384 evas_object_color_set(priv->spacer, 0, 0, 0, 0);
@@ -766,7 +766,7 @@ elm_progressbar_add(Evas_Object *parent)
766{ 766{
767 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); 767 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
768 Eo *obj = elm_legacy_add(EFL_UI_PROGRESSBAR_LEGACY_CLASS, parent); 768 Eo *obj = elm_legacy_add(EFL_UI_PROGRESSBAR_LEGACY_CLASS, parent);
769 elm_progressbar_unit_format_set(obj, "%.0f %%"); 769 elm_progressbar_unit_format_set(obj, "%.0f%%");
770 770
771 return obj; 771 return obj;
772} 772}