NOISSUE fix page container spacing in UIs

This commit is contained in:
Petr Mrázek 2018-03-27 22:21:41 +02:00
parent 40a30b67f4
commit 6188c577e3
2 changed files with 1 additions and 1 deletions

View File

@ -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);

View File

@ -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);
}