I would try unsetting the size constraint of the dialog's layout(), i.e. either setting it to QLayout::SetNoConstraint or QLayout::SetDefaultConstraint

Cheers,
_