Details
Description
When using a QComboBox with custom delegates that include checkboxes in Qt 6.7.x or later, the items and checkboxes inside the combo box overlap, leading to a broken UI layout. The issue occurs specifically with the new windows11 style introduced in Qt 6.7. Downgrading to Qt 6.6.3 resolves the issue, suggesting that the problem may be related to the style changes. The same behavior might also occur with other item views (e.g., QListView) using similar delegate implementations.
Attachments
Issue Links
- duplicates
-
PYSIDE-2897 QCombobox Checkstates collide with text on Windows
- Closed
For Gerrit Dashboard: PYSIDE-2906 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
599325,4 | QWindows11Style: Add checkbox offset to ItemViewItemText | dev | qt/qtbase | Status: MERGED | +2 | 0 |
599676,2 | QWindows11Style: Add checkbox offset to ItemViewItemText | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |