fix: set minimum size for setup wizard

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-01-07 17:40:29 +01:00 committed by Tayou
parent 689fe1e2c7
commit 5c48f0b458
No known key found for this signature in database
GPG Key ID: 02CA43C1CB6E9887

View File

@ -13,7 +13,8 @@
SetupWizard::SetupWizard(QWidget *parent) : QWizard(parent) SetupWizard::SetupWizard(QWidget *parent) : QWizard(parent)
{ {
setObjectName(QStringLiteral("SetupWizard")); setObjectName(QStringLiteral("SetupWizard"));
resize(615, 659); resize(620, 660);
setMinimumSize(300, 400);
// make it ugly everywhere to avoid variability in theming // make it ugly everywhere to avoid variability in theming
setWizardStyle(QWizard::ClassicStyle); setWizardStyle(QWizard::ClassicStyle);
setOptions(QWizard::NoCancelButton | QWizard::IndependentPages | QWizard::HaveCustomButton1); setOptions(QWizard::NoCancelButton | QWizard::IndependentPages | QWizard::HaveCustomButton1);