Qt style - transparent border
widget.setSt开发者_运维问答yleSheet("border: 1px solid red")
makes red border.
How can I make transparent border?
So that when I add red border, widget size stays the same.Random guess: did you try transparent in place of red? – thirtydot
Based on the fact that transparent
works in "normal CSS", I guessed that it might work in Qt.
And it does work :)
精彩评论