Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.6, 5.3.1
-
None
-
Linux (using KDE Oxygen style).
-
bb3d2ca9f18071537888622310ca0cb7f587e61d
Description
The proper size of a QToolButton may (e.g. in 'icon only' mode) depend on whether or not the button has an associated QMenu. However, adding a QMenu does not invalidate the cached size hint, which causes the button to be less wide than it should be.
Attachments
For Gerrit Dashboard: QTBUG-38949 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95038,3 | QToolButton: properly reset the size hint when a menu is set on it | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |