Hi, my widget has children widgets which can appear and disappear sometimes.
Now after hiding one of child I call adjustSize() to resize the main widget to possible minimum.
How to automatically call adjustSize() when showing/hiding children in a layout?
I tried setting sizePolicy to QSizePolicy::Minimum but this doesn't help...