mainview: Fix Toolbar Scaling.

master
Alastair Poole 2 years ago
parent 905a25369a
commit 9d0d0cbbb9
  1. 4
      src/bin/edi_main.c

@ -471,7 +471,7 @@ edi_content_setup(Evas_Object *win, const char *path)
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
elm_toolbar_align_set(tb, 0.0);
elm_toolbar_icon_size_set(tb, 24 * elm_config_scale_get());
elm_toolbar_icon_size_set(tb, 24);
elm_object_style_set(tb, "item_horizontal");
elm_object_focus_allow_set(tb, EINA_FALSE);
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_SCROLL);
@ -1484,7 +1484,7 @@ edi_toolbar_setup(void)
elm_toolbar_horizontal_set(tb, _edi_project_config->gui.toolbar_horizontal);
elm_toolbar_homogeneous_set(tb, EINA_FALSE);
elm_object_focus_allow_set(tb, EINA_TRUE);
elm_toolbar_icon_size_set(tb, 32 * elm_config_scale_get());
elm_toolbar_icon_size_set(tb, 32);
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL);
if (is_horizontal)

Loading…
Cancel
Save