Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
5.12.6, 5.13.2
-
Windows 10 / Ubuntu Linux desktop
-
-
97ac281c1d70dcfbb137e5a83e24a747e9510116 (qt/qtbase/5.14)
Description
When using stylesheet to style the QMenu and a checkbox indicator it does not allocate space for indicator in the submenu item.
Steps to reproduce:
- Run the attached example project
Expected result:
- The menu item in the menu and submenu looks the same.
Actual result:
- The item in submenu does not allocate space for the indicator and thus the text and the indicator are overlapping each other.
Attachments
Issue Links
- duplicates
-
QTBUG-78238 Different QMenu stylesheet application depending on whether actions have icons
-
- Closed
-
For Gerrit Dashboard: QTBUG-80506 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283714,2 | QStyleSheetStyle: properly honor checkmark size when drawing a QMenu | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |