View Single Post
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#4
Originally Posted by ltramon View Post
....

We have tried to use the "update" method of the QLabel but this didn't work. Also, we have tried to modify the size().setWidth() and the size().setHeight but also failed.

Can anybody help us out??

Best Regards
get the pixmap of the imageLabel ( QLabel loaded with a QImage pixmap), and do

imageLabel->resize(scale * imageLabel->pixmap()->size());

see if it works