I'm using a QLabel to display images (I retreive the images from an SQLite database).

The label is part of a widget with a few other buttons and labels.

By using the QLabel::setScaledContents(true) (or the equivalent in Qt Designer). I can make it so the QLabel showing this image expands if the widget expands and the image displayed will expand accordingly.

But it won't resize smaller than the image's original size.

I can see why this behaviour might be desired in some cicumstances but it's not what I want.

I can work around the problem by setting the image in the QLabel to be a down-sized (scaled) image which gives me a smaller minimum size but then (obviously) the quality of the image is reduced if I expand it.

Any ideas?