QTreeView::branch gridline-color?
I'm trying to set the grid-line color of a QTreeView branch via the stylesheet.
Code:
gridline-color: rgba(255, 255, 255, 255);
background-color: rgba(255, 0, 0, 128);
}
What I expect is a white dotted line with red background but while the background changes correctly, it looks like the grid-lines are simply failing to render.
Removing the style restores the grid-lines to the default style. What am I doing wrong?
_chouqud_
Re: QTreeView::branch gridline-color?
The grid lines are the row and columns separators between cells in a QTableView, not the branch lines in a QTreeView.
The branches are customised in a QTreeView using border images.
Re: QTreeView::branch gridline-color?
Quote:
Originally Posted by
ChrisW67
Thanks for clearing that up. Since I just want to change the color and not the style where would I find the original images?