Make page container hug edges of dialog <3
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -46,7 +46,7 @@ PageDialog::PageDialog(BasePageProvider* pageProvider, QString defaultId, QWidge
|
||||
buttons->button(QDialogButtonBox::Ok)->setText(tr("&OK"));
|
||||
buttons->button(QDialogButtonBox::Cancel)->setText(tr("&Cancel"));
|
||||
buttons->button(QDialogButtonBox::Help)->setText(tr("Help"));
|
||||
buttons->setContentsMargins(6, 0, 6, 0);
|
||||
buttons->setContentsMargins(0, 0, 6, 6);
|
||||
m_container->addButtons(buttons);
|
||||
|
||||
connect(buttons->button(QDialogButtonBox::Ok), &QPushButton::clicked, this, &PageDialog::accept);
|
||||
|
||||
Reference in New Issue
Block a user