widgets are not aligned well inside a QMainWIndow or QDialog

Printable View