From 63cf00dad084d4515247ef94809497b8865da3df Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 10 Dec 2014 22:30:31 +0100 Subject: LayerSelector (bottom left): change size of visibility and lock icons to ICON_SIZE_SMALL_TOOLBAR to make the size changeable from the GTK2 theme file, and make the size fall in line with rest of UI. I saw no effect on the looks of the UI with default gtkrc on Windows, but greatly improves icon sizing on hi-dpi theme settings. (bzr r13792) --- src/ui/widget/layer-selector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/widget/layer-selector.cpp') diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp index 7b1a8dbfb..878bbfb87 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -97,7 +97,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) { AlternateIcons *label; - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_SMALL_TOOLBAR, INKSCAPE_ICON("object-visible"), INKSCAPE_ICON("object-hidden"))); _visibility_toggle.add(*label); _visibility_toggle.signal_toggled().connect( @@ -118,7 +118,7 @@ LayerSelector::LayerSelector(SPDesktop *desktop) _visibility_toggle.set_tooltip_text(_("Toggle current layer visibility")); pack_start(_visibility_toggle, Gtk::PACK_EXPAND_PADDING); - label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_DECORATION, + label = Gtk::manage(new AlternateIcons(Inkscape::ICON_SIZE_SMALL_TOOLBAR, INKSCAPE_ICON("object-unlocked"), INKSCAPE_ICON("object-locked"))); _lock_toggle.add(*label); _lock_toggle.signal_toggled().connect( -- cgit v1.2.3