Ensure minimum width for setup dialog

Ensure that the dialog has a minimum width so that everything is shown.
This commit is contained in:
Michael Gregorius
2023-09-30 12:12:04 +02:00
parent 4fac4c6c4a
commit b29a46edf8

View File

@@ -870,6 +870,9 @@ SetupDialog::SetupDialog(ConfigTabs tab_to_open) :
vlayout->addWidget(extras_w);
vlayout->addSpacing(10);
// Ensure that we cannot make the dialog smaller than it wants to be
setMinimumWidth(width());
show();
}