[PyKDE] Resizing a window with an image in it

Derek Fountain derekfountain at yahoo.co.uk
Mon Oct 27 10:35:00 GMT 2003

On Monday 27 October 2003 16:28, Aurélien Gâteau wrote:
> Le Lundi 27 Octobre 2003 09:13, Derek Fountain a écrit :
> > I want the user to be able to push the window smaller, then have the
> > image rescaled smaller. What do I need to enable/disable to make this
> > happen?
> Have you tried to set the minimum size to (0,0)?

Yes, although that didn't have any effect. I just stumbled across the (well, 
an) answer: set the QLabel size policy to ignored/ignored. I'm not entirely 
sure why it works, but at least I can get on with my code. :o)

> eatapple
core dump

More information about the PyQt mailing list