[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Re: Layout management and resizing
From:       "Tim Stoop" <tim.stoop () gmail ! com>
Date:       2008-03-23 20:13:19
Message-ID: 5beee6a0803231313w2f641135n1b77285cfb31cce7 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,

On Sun, Mar 23, 2008 at 12:48 PM, Tim Stoop <tim.stoop@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

[Attachment #5 (text/html)]

Hi all,<br><br><div class="gmail_quote">On Sun, Mar 23, 2008 at 12:48 PM, Tim Stoop \
&lt;<a href="mailto:tim.stoop@gmail.com">tim.stoop@gmail.com</a>&gt; \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;"> <div>I&#39;ve created in Designer the attached layout. \
It&#39;s quite simple, I think. A QHBoxLayout within a QVBoxLayout. However, when I \
resize the app, the widgets don&#39;t resize along with it. What am I doing wrong? \
Shouldn&#39;t it autoresize when I set all the widgets on Expanding sizePolicy? How \
do I make the widgets resize?</div> </blockquote><div><br></div><div>Found it, thanks \
to the nice people in #qt. Apparantly, I needed to add a layout to the \
centralwidget.&nbsp;<br></div></div><br>-- <br>Gegroet,<br>Tim



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic