Qt 6.11 is out! See what's new in the release
blog
How to use the outline option in stylesheet?
-
Outline is a weird one. Seems to be only used by buttons to indicate focus.
-
What exactly is the problem?
The missing image or the missing frame around it? -
What exactly is the problem?
The missing image or the missing frame around it?@Axel-Spoerl missing frame, only the image is painted, the outline dont.
-
Ah. You initially said that „nothing were drawn into the image“….
A style sheet is meant to design existing elements of a widget, not to create such elements. In your case, a QWidget doesn’t have a frame. So the outline property is ignored. A QFrame or a QPushButton has such elements and thus reacts to outline styling.