[Qt-interest] Problem with Layout, it does not resize itself

Stephen Collyer scollyer at netspinner.co.uk
Wed Feb 17 16:23:46 CET 2010


On 17 February 2010 15:01, Christian Gagneraud <cgagneraud at techworks.ie>wrote:

>
> I don't really understand what you trying to do, but I would say that
> you shoudn't bother at all about sizes, resizing and scroll area.
> Let the layouts manage all of these for you.
>
> Just create the widgets, add them to the layouts and finally use
> setLayout(). Use all defaults values, don't use setWidgetResizable(),
>

He has the widget inside a QScrollArea. It won't resize correctly if he
doesn't do
setWidgetResizable(true), in my experience.

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100217/f959624b/attachment.html 


More information about the Qt-interest-old mailing list