I'm trying to set the grid-line color of a QTreeView branch via the stylesheet.
gridline-color: rgba(255, 255, 255, 255);
background-color: rgba(255, 0, 0, 128);
}
QTreeView::branch:hover {
gridline-color: rgba(255, 255, 255, 255);
background-color: rgba(255, 0, 0, 128);
}
To copy to clipboard, switch view to plain text mode
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_
Bookmarks