chouqud
20th March 2014, 20:38
I'm trying to set the grid-line color of a QTreeView branch via the stylesheet.
QTreeView::branch:hover {
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_
QTreeView::branch:hover {
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_