Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Matias De lellis
xfce4-whiskermenu-plugin
Commits
a989becc
Commit
a989becc
authored
Oct 10, 2021
by
Graeme Gott
Browse files
Fix small icon in multi-row panels (Issue #37)
parent
38479e2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
panel-plugin/plugin.cpp
View file @
a989becc
...
...
@@ -470,6 +470,10 @@ gboolean Plugin::size_changed(XfcePanelPlugin*, gint size)
}
#if LIBXFCE4PANEL_CHECK_VERSION(4,13,0)
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
);
}
#else
GtkBorder
padding
,
border
;
GtkStyleContext
*
context
=
gtk_widget_get_style_context
(
m_button
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment