How to color when drawing QFrame as a line
Solved
General and Desktop
-
wrote on 8 Dec 2015, 15:21 last edited by Jakob 12 Aug 2015, 20:21
When I draw a
QFrame
as a line using theQFrame::HLine
orQFrame::VLine
shape, how can I set the color of that line using a stylesheet? It seems both thecolor
,background-color
, norborder-color
have any effect -
Hi
Setting FrameShadow to "plain" it responded to
color: rgb(170, 0, 0); -
@mrjj Thanx, I knew for sure I already tried this one before, but apparently there was something wrong before then, because the
color
attribute does work now.@Jakob
well if FrameShadow is not plain
it does nothing so first i though it didn't work either.
1/4