summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-01-30 13:54:24 +0000
committerAndy Williams <andy@andywilliams.me>2016-01-30 13:54:24 +0000
commitaabc31074e5980d34ef42f68b5eed674545a6791 (patch)
tree90a0894c5a92c205a494d3bc9775d6e15d41986c
parent7c9c8d019ac10229ef5e7debdc388c4ba9f26209 (diff)
[toolbar] Adjust icon size along with text etc.
As discussed on the mailing list elm should scale the whole UI based on the scale value. Make toolbar icons match this. @fix
-rw-r--r--src/lib/elm_toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index bea4b56aa..067e47133 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -1284,8 +1284,8 @@ _item_theme_hook(Evas_Object *obj,
1284 } 1284 }
1285 if (it->icon) 1285 if (it->icon)
1286 { 1286 {
1287 evas_object_size_hint_min_set(it->icon, icon_size, icon_size); 1287 evas_object_size_hint_min_set(it->icon, icon_size * scale, icon_size * scale);
1288 evas_object_size_hint_max_set(it->icon, icon_size, icon_size); 1288 evas_object_size_hint_max_set(it->icon, icon_size * scale, icon_size * scale);
1289 elm_layout_content_set(view, "elm.swallow.icon", it->icon); 1289 elm_layout_content_set(view, "elm.swallow.icon", it->icon);
1290 elm_layout_signal_emit 1290 elm_layout_signal_emit
1291 (view, "elm,state,icon,visible", "elm"); 1291 (view, "elm,state,icon,visible", "elm");