From ed02ebf6157b83ef0f0fca9461668998f0445384 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 3 Jun 2022 08:26:37 +0200 Subject: [PATCH] GitLab: Slightly tweak clone dialog layout Change-Id: I884c06108515f81f77d00fa6d16821f91be000a1 Reviewed-by: David Schulz --- src/plugins/gitlab/gitlabclonedialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/gitlab/gitlabclonedialog.cpp b/src/plugins/gitlab/gitlabclonedialog.cpp index e1dabccc28a..dcb9ec89268 100644 --- a/src/plugins/gitlab/gitlabclonedialog.cpp +++ b/src/plugins/gitlab/gitlabclonedialog.cpp @@ -84,6 +84,7 @@ GitLabCloneDialog::GitLabCloneDialog(const Project &project, QWidget *parent) form->addRow(tr("Directory"), m_directoryLE); m_submodulesCB = new QCheckBox(this); form->addRow(tr("Recursive"), m_submodulesCB); + form->addItem(new QSpacerItem(10, 10)); centerLayout->addLayout(form); m_cloneOutput = new QPlainTextEdit(this); m_cloneOutput->setReadOnly(true); @@ -91,7 +92,6 @@ GitLabCloneDialog::GitLabCloneDialog(const Project &project, QWidget *parent) layout->addLayout(centerLayout); m_infoLabel = new Utils::InfoLabel(this); layout->addWidget(m_infoLabel); - layout->addStretch(1); auto buttons = new QDialogButtonBox(QDialogButtonBox::Cancel, this); m_cloneButton = new QPushButton(tr("Clone"), this); buttons->addButton(m_cloneButton, QDialogButtonBox::ActionRole);