diff --git a/src/qt/qt_styleoverride.cpp b/src/qt/qt_styleoverride.cpp index 628f4c143..acdae7ae0 100644 --- a/src/qt/qt_styleoverride.cpp +++ b/src/qt/qt_styleoverride.cpp @@ -35,8 +35,10 @@ void StyleOverride::polish(QWidget* widget) /* Disable title bar context help buttons globally as they are unused. */ if (widget->isWindow()) { if (widget->layout() && widget->minimumSize() == widget->maximumSize()) { - widget->setFixedSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)); - widget->layout()->setSizeConstraint(QLayout::SetFixedSize); + if (widget->minimumSize() < widget->minimumSizeHint()) { + widget->setFixedSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)); + widget->layout()->setSizeConstraint(QLayout::SetFixedSize); + } widget->setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, true); } widget->setWindowFlag(Qt::WindowContextHelpButtonHint, false);