On Thu, 2011-01-13 at 08:04 +0100, Paul Wellner Bou wrote:
> Hello,
> 
> maybe I am blind or something. But I can not find a way to layout just 
> one widget (promoted widget) in a default mainwindow in QtCreator in a 
> way that it spans over 100% of the available space and resizes 
> automatically on resizing the window.
> 
> How can this be done? Is this possible with the QtDesigner, and without 
> adding own layout code to my mainwindow class?
> 

I remember once looking for hours how to do this! It is not intuitive,
but fortunately very simple once you know how.

You have to right-click in the main window's client area *outside* of
the promoted widget, then select "Layout ==> Lay out in a Grid". This
will stretch the widget to fill the main window's client area.

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to