Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.4, 6.6.2, 6.7.0 Beta3
-
3ca615d97 (dev), 755f96436 (6.8), e0d518c84 (6.7)
Description
Defining in the stylesheet a background color and a border color for an item does apply the border and the background color to the branches as well.
There is no issues with Qt5 nor if only the border color is defined.
The issue is especially apparent when a selected item has a different background color and a border-color.
To reproduce, please run the attached example project.
Attachments
Issue Links
- resulted in
-
QTBUG-123632 Regression: Setting background-color style of QTreeView::item breaks alternatingRowColors
- Closed
For Gerrit Dashboard: QTBUG-122778 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554961,9 | Skip rendering border for the decoration area of the tree view | dev | qt/qtbase | Status: MERGED | +2 | 0 |
570619,2 | Skip rendering border for the decoration area of the tree view | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
570680,2 | Skip rendering border for the decoration area of the tree view | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |