Hi and welcome to devnet,
If you positioned everything by hand then you either have to redo that or position your widgets in your code for example in the resizeEvent method.
Otherwise, the recommended way to work is to use layouts which automatically adapts to the size of your widget.