I've designed a QDockWidget
in Qt Creator. For some reasons it has a minimum size assigned (screenshot). I can change the size (e.g. to 0x0
) and save the form, but whenever I reopen the form it is reset to 60x38
. All child widgets have a minimum size of 0x0
.
Even if I change the size in code (runtime) as here
QSize min(10, 10);
this->ui->qw_NavigatorDockWidgetOuter->setMinimumSize(min);
this->ui->fr_NavigatorDockWidgetInner->setMinimumSize(min);
this->setMinimumSize(min); // QDockWidget
I cannot resize the floating (!) widget below a 60 width. Where is that constraint coming from and how can I reduce the width?