[PyKDE] Resizing a window with an image in it

2003-10-27 Thread Derek Fountain
I tried this on the qt-interest list, but didn't get any replies. Perhaps someone here will be able to help me? I have a window which contain a QLabel, which I've set to hold an image. When the user makes the window bigger, I fetch the size of the QLabel and scale the image to be that big. This

Re: [PyKDE] Resizing a window with an image in it

2003-10-27 Thread Aurélien Gâteau
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)? You can do it with "setMinimumSize(0,0)".

Re: [PyKDE] Resizing a window with an image in it

2003-10-27 Thread Derek Fountain
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