diff options
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 1 | ||||
-rw-r--r-- | application/widgets/PageContainer.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index b95f192f..0631714c 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -70,6 +70,7 @@ NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString m_container = new PageContainer(this); m_container->setSizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding); + m_container->setContentsMargins(0, 0, 0, 0); ui->verticalLayout->insertWidget(2, m_container); m_container->addButtons(m_buttons); diff --git a/application/widgets/PageContainer.cpp b/application/widgets/PageContainer.cpp index 4dbd7fb2..98de57e8 100644 --- a/application/widgets/PageContainer.cpp +++ b/application/widgets/PageContainer.cpp @@ -158,7 +158,6 @@ void PageContainer::createUI() m_layout->addWidget(m_pageList, 0, 0, 2, 1); m_layout->addLayout(m_pageStack, 1, 1, 1, 1); m_layout->setColumnStretch(1, 4); - m_layout->setContentsMargins(0, 0, 0, 0); setLayout(m_layout); } |