[PyQt] Re: Layout management and resizing

Tim Stoop tim.stoop at gmail.com
Sun Mar 23 20:13:19 GMT 2008


Hi all,

On Sun, Mar 23, 2008 at 12:48 PM, Tim Stoop <tim.stoop at gmail.com> wrote:

> I've created in Designer the attached layout. It's quite simple, I think.
> A QHBoxLayout within a QVBoxLayout. However, when I resize the app, the
> widgets don't resize along with it. What am I doing wrong? Shouldn't it
> autoresize when I set all the widgets on Expanding sizePolicy? How do I make
> the widgets resize?
>

Found it, thanks to the nice people in #qt. Apparantly, I needed to add a
layout to the centralwidget.

-- 
Gegroet,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080323/1fd007e8/attachment.html


More information about the PyQt mailing list