How to resize QDialog when one of the widgets got (in)visible?

Printable View