I'm trying to set the grid-line color of a QTreeView branch via the stylesheet.

Qt Code:
  1. QTreeView::branch:hover {
  2. gridline-color: rgba(255, 255, 255, 255);
  3. background-color: rgba(255, 0, 0, 128);
  4. }
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_