QT Designer Stylesheet Text shadow / outline
M.K. last edited by
is there a way to create a shadow/outline effect for the text in a label?
I tried text shadow and outline but it doesnt work.
Thanks in advance.
David.G last edited by
I'm not completely sure you can do shadow with stylesheets alone as Qt doesn't support CSS3 as far as I know (would be awesome if it did). Have you checked QGraphicsEffect and QGraphicsDropShadowEffect for the label.
I've never tried it myself but I think you would need two drop shadow effects, one without blur for the outline and then the shadow.
If there's a more straightforward way hopefully someone will come along.