Unsolved How to change size off elements after adding to the main layout in qtdesigner?
-
Hey, as you see they always are in a other arrangement after I added them to the main window...
Is there a way to resize them now and place them where I want? -
Right click on the layouts in the tree on the top right then select layout->break layout
-
@KaffeMitMilf as @VRonin said - you can break to layout, adjust, reenable.
The way to handle this in general is to roughly supply the members of the layout with minimum size, maximum size and set other related options -> and then apply the layout.
Some of those can be altered when layout is already applied - I suggest playing with them a bit that way so you can get the feeling of how those influence the layout. -
@VRonin
Thanks, but as soon as im doing this they wont resize, after I resize the main window^^Also they always snap in a position I dont want... Is there a alternative to the layouts?
So I can place them where I want but they still being add to MainWindow? -
You can use spacer elements to tell the layout not to stretch widgets where you don't want them to