Issue
I'm executing a python program within a program (Nuke) which embeds its Python interpreter and its own version of PySide.
My program has it's own CSS stylesheet, which is counteracting the default stylesheet from the "parent" program. I could overwrite every inherited style by specifying a new value for each changed properties, except from one: It seems that my QLabel widgets have some drop shadow that I can't get rid of. I tried adding the following CSS code in my stylesheet, but it doesn't change anything:
QLabel {text-shadow: none}
or
QLabel {shadow: none}
It still looks like this:
And I don't want that drop shadow. Which CSS property could it be?
Thanks.
Solution
I found the solution on Stack Overflow: How to cancel font shadow in nuke pyside
The problem was due to the default style used by Nuke.
As suggested in the answer from the link, specifying another one fixed the issue:
self.setStyle(QtGui.QStyleFactory.create('Plastique'))
Answered By - Munshine
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.