I have a QDialog with a couple of radio buttons and a couple of group boxes in it that I layed out in Designer. Depending on which radio button is selected, I hide one of the two group boxes, which are layed out vertically. This causes the other group box (the one not hid) to stretch and fill out the dialog box and it doesn't look right. I would prefer the dialog box to shrink -- to include my radio buttons, group box and OK/Cancel buttons. How is the best way to do this?? In Designer with sizePolicy for the Dialog box? In code?
TIA.
Qt 4.1.4
Bookmarks