Fill parent in Qt Creator 2.2.0
-
When I add a layout element to the centralwidget, that element stays in the middle of the window and does not move when the window is resized. How can I make it "fill" the whole area (and resize its children properly)? All children widgets of my layout are expanding properly.
-
If you mean adding a layout via the designer, you have to first put the child widgets (at least one) on the centralwidget and then right-click, and choose a layout in the "Lay out" menu that pops up.
-
Ok - so which one is FILL parent?
-
If you just have one item, the grid layout should work for you.
You can edit the properties to adjust border margins, etc.
-
One of 'them' ?
One Layout? One Widget? One what?