Commit a989becc authored by Graeme Gott's avatar Graeme Gott
Browse files

Fix small icon in multi-row panels (Issue #37)

parent 38479e2e
......@@ -470,6 +470,10 @@ gboolean Plugin::size_changed(XfcePanelPlugin*, gint size)
gint icon_size = xfce_panel_plugin_get_icon_size(m_plugin);
if (!wm_settings->button_single_row)
icon_size *= xfce_panel_plugin_get_nrows(m_plugin);
GtkBorder padding, border;
GtkStyleContext* context = gtk_widget_get_style_context(m_button);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment