This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment-module-forecasts.
View the commit online.
commit 40c699798e1b4eae1f89e931229a09d3609be610
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Fri Feb 13 11:50:16 2026 +0000
forecasts - fix popup icon scaling
---
src/e_mod_main.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index 7e1fb38..128d1fe 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -972,7 +972,8 @@ _forecasts_popup_content_create(Instance *inst)
edje_object_size_max_get(ic, &w, &h);
if (w > 160) w = 160;
if (h > 160) h = 160;
- im = e_widget_image_add_from_object(e_comp->evas, ic, w, h);
+ im = e_widget_image_add_from_object(e_comp->evas, ic,
+ ELM_SCALE_SIZE(w), ELM_SCALE_SIZE(h));
evas_object_show(im);
elm_table_pack(tb, im, 0, row, 2, 1);
@@ -1043,7 +1044,8 @@ _forecasts_popup_content_create(Instance *inst)
ic = _forecasts_popup_icon_create(e_comp->evas,
inst->forecast[0].code);
- im = e_widget_image_add_from_object(e_comp->evas, ic, 24, 24);
+ im = e_widget_image_add_from_object(e_comp->evas, ic,
+ ELM_SCALE_SIZE(24), ELM_SCALE_SIZE(24));
evas_object_size_hint_weight_set(im, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(im);
elm_table_pack(tb, im, 0, 0, 2, 1);
@@ -1082,7 +1084,8 @@ _forecasts_popup_content_create(Instance *inst)
ic = _forecasts_popup_icon_create(e_comp->evas,
inst->forecast[1].code);
- im = e_widget_image_add_from_object(e_comp->evas, ic, 24, 24);
+ im = e_widget_image_add_from_object(e_comp->evas, ic,
+ ELM_SCALE_SIZE(24), ELM_SCALE_SIZE(24));
evas_object_size_hint_weight_set(im, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(im);
elm_table_pack(tb, im, 0, 0, 2, 1);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.