NOISSUE fix page container spacing in UIs
This commit is contained in:
parent
40a30b67f4
commit
6188c577e3
@ -70,6 +70,7 @@ NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString
|
|||||||
|
|
||||||
m_container = new PageContainer(this);
|
m_container = new PageContainer(this);
|
||||||
m_container->setSizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
|
m_container->setSizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
|
||||||
|
m_container->setContentsMargins(0, 0, 0, 0);
|
||||||
ui->verticalLayout->insertWidget(2, m_container);
|
ui->verticalLayout->insertWidget(2, m_container);
|
||||||
|
|
||||||
m_container->addButtons(m_buttons);
|
m_container->addButtons(m_buttons);
|
||||||
|
@ -158,7 +158,6 @@ void PageContainer::createUI()
|
|||||||
m_layout->addWidget(m_pageList, 0, 0, 2, 1);
|
m_layout->addWidget(m_pageList, 0, 0, 2, 1);
|
||||||
m_layout->addLayout(m_pageStack, 1, 1, 1, 1);
|
m_layout->addLayout(m_pageStack, 1, 1, 1, 1);
|
||||||
m_layout->setColumnStretch(1, 4);
|
m_layout->setColumnStretch(1, 4);
|
||||||
m_layout->setContentsMargins(0, 0, 0, 0);
|
|
||||||
setLayout(m_layout);
|
setLayout(m_layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user