scaled contents means the label will scale its content to fit the size of the label.
So if the label stays the same size, then the content stays the same size.
The last line in your function has no effect other than consuming CPU.
It creates a scaled version of the pixmap which you then immediately discard.
Cheers,
_
Bookmarks