Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.5.1
Description
QPushButton doesn't provide API or stylesheet properties to set spacing between icon and text.
5.5 has magic number hardcoded in qpushbutton.cpp
if (!icon().isNull() || showButtonBoxIcons) { int ih = opt.iconSize.height(); int iw = opt.iconSize.width() + 4; w += iw; h = qMax(h, ih); }