PDA

View Full Version : Wasn't There an AutoLayout (allows resize?) in QDesigner?



Arsenic
31st July 2008, 23:20
I was pretty sure there was some sort of autolayout form, in which you shift click a bunch of objects and then apply an auto-layout in QDesigner which automatically makes them resizable.

Grid doesn't seem to do the trick. Did they change this in 4.4.0?

jacek
31st July 2008, 23:28
Maybe you simply forgot to set a top-level layout?

Arsenic
31st July 2008, 23:49
??
Um...
I have a blank mainwindow.
I set a tab widget.
In the tab I have a grid layout ... in it a couple objects.

I could have sworn there was a Autolayout button.

As I grow the mainwindow, the tab grows, but the gridlayout isn't growing.

jacek
1st August 2008, 00:07
As I grow the mainwindow, the tab grows, but the gridlayout isn't growing.
You didn't set a top-level layout for the tab page. Don't select any widgets, just click on the tab page background and click one of the "Lay out in..." buttons --- you'll get your "autolayout".

Arsenic
1st August 2008, 23:52
They should really explain this better in the software, because I dont' think anyone starting out would be able to figure that out. Apparently you're not suppose to select the widgets.