I want to have a small QFormLayout that grows to fill its parent widget.
QFormLayout
I created a new .ui file using the QWidget template in Qt
QWidget
You need to change the default layout type of top level QWidget object from Break layout type to other layout types (Vertical Layout, Horizontal Layout, Grid Layout, Form Layout). For example:
To something like this: