summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-08-01 08:53:15 +0200
committerMontel Laurent <[email protected]>2016-08-01 08:53:15 +0200
commit54b800f8a6e3b80db35c82689cf36abcd9181be1 (patch)
treecb1d6fb30a0655987426da413a1fdee0a63a10ad
parentfc9a48b76c5a4a2498399032bf4d4cbb373014a1 (diff)
Fix layout
-rw-r--r--korganizer/plugins/datenums/configdialog.cpp1
-rw-r--r--korganizer/plugins/hebrew/configdialog.cpp1
-rw-r--r--korganizer/plugins/picoftheday/configdialog.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp
index 4caa4fb..b4d3c1a 100644
--- a/korganizer/plugins/datenums/configdialog.cpp
+++ b/korganizer/plugins/datenums/configdialog.cpp
@@ -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);
diff --git a/korganizer/plugins/hebrew/configdialog.cpp b/korganizer/plugins/hebrew/configdialog.cpp
index 60822ca..e7e94a7 100644
--- a/korganizer/plugins/hebrew/configdialog.cpp
+++ b/korganizer/plugins/hebrew/configdialog.cpp
@@ -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();
}
diff --git a/korganizer/plugins/picoftheday/configdialog.cpp b/korganizer/plugins/picoftheday/configdialog.cpp
index f75081c..953dd25 100644
--- a/korganizer/plugins/picoftheday/configdialog.cpp
+++ b/korganizer/plugins/picoftheday/configdialog.cpp
@@ -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();
}