Commit 54b800f8 authored by Laurent Montel's avatar Laurent Montel 😁

Fix layout

parent fc9a48b7
......@@ -48,6 +48,7 @@ ConfigDialog::ConfigDialog(QWidget *parent)
setModal(true);
QFrame *topFrame = new QFrame(this);
mainLayout->addWidget(topFrame);
mainLayout->addStretch(1);
mainLayout->addWidget(buttonBox);
QVBoxLayout *topLayout = new QVBoxLayout(topFrame);
topLayout->setMargin(0);
......
......@@ -67,6 +67,7 @@ ConfigDialog::ConfigDialog(QWidget *parent)
mCholBox = new QCheckBox(topFrame);
mCholBox->setText(i18n("Show Chol HaMoed"));
topLayout->addWidget(mCholBox);
topLayout->addStretch(1);
connect(okButton, &QPushButton::clicked, this, &ConfigDialog::slotOk);
load();
}
......
......@@ -76,8 +76,8 @@ ConfigDialog::ConfigDialog(QWidget *parent)
groupLayout->addWidget(btn);
connect(okButton, &QPushButton::clicked, this, &ConfigDialog::slotOk);
mainLayout->addStretch(1);
mainLayout->addWidget(buttonBox);
load();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment