aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_progressbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_progressbar.c')
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index 10d67b4289..b103c44829 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -225,11 +225,11 @@ _efl_ui_progressbar_elm_widget_theme_apply(Eo *obj, Efl_Ui_Progressbar_Data *sd)
if (_is_horizontal(sd->dir))
evas_object_size_hint_min_set
- (sd->spacer, (double)sd->size * efl_ui_scale_get(obj) *
+ (sd->spacer, (double)sd->size * efl_gfx_scale_get(obj) *
elm_config_scale_get(), 1);
else
evas_object_size_hint_min_set
- (sd->spacer, 1, (double)sd->size * efl_ui_scale_get(obj) *
+ (sd->spacer, 1, (double)sd->size * efl_gfx_scale_get(obj) *
elm_config_scale_get());
if (_is_inverted(sd->dir))
@@ -397,11 +397,11 @@ _progressbar_span_size_set(Eo *obj, Efl_Ui_Progressbar_Data *sd, Evas_Coord size
if (_is_horizontal(sd->dir))
evas_object_size_hint_min_set
- (sd->spacer, (double)sd->size * efl_ui_scale_get(obj) *
+ (sd->spacer, (double)sd->size * efl_gfx_scale_get(obj) *
elm_config_scale_get(), 1);
else
evas_object_size_hint_min_set
- (sd->spacer, 1, (double)sd->size * efl_ui_scale_get(obj) *
+ (sd->spacer, 1, (double)sd->size * efl_gfx_scale_get(obj) *
elm_config_scale_get());
elm_layout_sizing_eval(obj);