Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.3
-
None
Description
Using QMenu's addSection with a long text does not take the text size into account for the QMenu's sizeHint.
The bug is in this code : qmenu.cpp:412
When in updateActionRects(), we have this code :
"
if (action->isSeparator()) { sz = QSize(2, 2); } else { ..."
Should be :
"
if (action->isSeparator() && !isSection) { sz = QSize(2, 2); } else {"