Skip to content

Commit

Permalink
Hotfix: Set a minimum window size of 400x400 to LoadOptionsDialog
Browse files Browse the repository at this point in the history
This will prevent having a 80x40 initial size for this window.
  • Loading branch information
Hombre57 committed Mar 26, 2018
1 parent ce5e095 commit 655ed80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LoadOptionsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ LoadOptionsDialog::LoadOptionsDialog(QWidget * parent, Qt::WindowFlags f)
QSettings settings;
QVBoxLayout * layout = new QVBoxLayout(this);

setMinimumSize(400, 400);

QWidget * fileSelector = new QWidget(this);
QHBoxLayout * fileSelectorLayout = new QHBoxLayout(fileSelector);
fileSelectorLayout->setMargin(0);
Expand Down

0 comments on commit 655ed80

Please sign in to comment.