Commit 74285aea authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Add item spacing to size hint

This is what Adwaita Qt does [1] and it fixes the popup text being elided in Krita's filter popup with D25739

[1] https://github.com/FedoraQt/adwaita-qt/blob/master/style/adwaitastyle.cpp#L2856

Differential Revision: https://phabricator.kde.org/D25740
parent 1517efdb
...@@ -2578,6 +2578,7 @@ namespace Breeze ...@@ -2578,6 +2578,7 @@ namespace Breeze
// add button width and spacing // add button width and spacing
size.rwidth() += Metrics::MenuButton_IndicatorWidth+2; size.rwidth() += Metrics::MenuButton_IndicatorWidth+2;
size.rwidth() += Metrics::Button_ItemSpacing;
return size; return size;
......
Markdown is supported
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