notify/scale: Scale and Notify.

This commit is contained in:
Alastair Poole 2020-11-20 11:57:04 +00:00
parent 4eaa6729d9
commit 51ff33cefe
2 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,8 @@ evisum_ui_config_save(Ui *ui)
if (!_evisum_config) return; if (!_evisum_config) return;
if (_evisum_config->poll_delay != ui->settings.poll_delay) if (_evisum_config->poll_delay != ui->settings.poll_delay ||
_evisum_config->show_kthreads != ui->settings.show_kthreads)
notify = EINA_TRUE; notify = EINA_TRUE;
evas_object_geometry_get(ui->win, NULL, NULL, &w, &h); evas_object_geometry_get(ui->win, NULL, NULL, &w, &h);

View File

@ -404,8 +404,8 @@ _item_create(Evas_Object *parent)
ic = elm_icon_add(table); ic = elm_icon_add(table);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
evas_object_size_hint_align_set(ic, FILL, FILL); evas_object_size_hint_align_set(ic, FILL, FILL);
evas_object_size_hint_min_set(ic, 16, 16); evas_object_size_hint_min_set(ic, ELM_SCALE_SIZE(16), ELM_SCALE_SIZE(16));
evas_object_size_hint_max_set(ic, 24, 24); evas_object_size_hint_max_set(ic, ELM_SCALE_SIZE(16), ELM_SCALE_SIZE(16));
evas_object_show(ic); evas_object_show(ic);
evas_object_data_set(table, "icon", ic); evas_object_data_set(table, "icon", ic);
elm_box_pack_end(hbx, ic); elm_box_pack_end(hbx, ic);