A lot of things you can play around with:
You can try setting the widgets inside your form layouts to have a maximum height.
You can also try inserting vertical spacers to force the contents of each layout to the top.
Try playing with the expansion properties of each widget.
Try putting the QFormLayout inside of a QFrame inside of the vertical layout, and set the properties of the QFrame to make it invisible, a fixed size, and zero margins.
Bookmarks