Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.2
-
1ac58f4ba (dev), da59bc343 (6.7), 347b35a44 (6.6), 3bc823495 (tqtc/lts-6.5)
Description
When using a custom stylesheet in a QListView with checkable items, the checkbox is drawn twice.
This only happens if the `::item` section provides padding or margin, and the `::indicator` section provides a custom size.
The attached project reproduces the issue.
Attachments
Issue Links
- is duplicated by
-
QTBUG-122825 QAbstractItemView::indicator not working properly
- Closed
- resulted from
-
QTBUG-102820 [REG 5.15.2 => 6.2.4] Styled indicators not drawn in itemviews
- Closed
For Gerrit Dashboard: QTBUG-122821 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
544894,4 | QStyleSheetStyle: don't draw check indicator twice | dev | qt/qtbase | Status: MERGED | +2 | 0 |
546539,2 | QStyleSheetStyle: don't draw check indicator twice | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
546579,2 | QStyleSheetStyle: don't draw check indicator twice | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
546633,2 | QStyleSheetStyle: don't draw check indicator twice | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |