Manager: only set fixed size for the new machine wizard on Windows

This commit is contained in:
Alexander Babikov
2025-08-17 20:01:09 +05:00
parent 492bb755f3
commit 0ca8007591

View File

@@ -58,9 +58,13 @@ VMManagerAddMachine(QWidget *parent) : QWizard(parent)
#endif
// Wizard wants to resize based on image. This keeps the size
#ifdef Q_OS_WINDOWS
setMinimumSize(QSize(550, size().height()));
setMaximumSize(QSize(550, size().height()));
setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, true);
#else
setMinimumSize(size());
#endif
setOption(HaveHelpButton, false);
// setPixmap(LogoPixmap, QPixmap(":/settings/qt/icons/86Box-gray.ico"));