Use setContentsMargins instead of setMargin

This commit is contained in:
Luis Ángel San Martín
2021-10-01 20:03:37 +02:00
parent 2a90b1c6ef
commit 1012ec37c7
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ GoToFlowToolBar::GoToFlowToolBar(QWidget *parent)
connect(goToButton, &QPushButton::clicked, this, &GoToFlowToolBar::goTo);
normalLayout->setMargin(0);
normalLayout->setContentsMargins(0, 0, 0, 0);
normalLayout->setSpacing(0);
normalLayout->addStretch();
normalLayout->addWidget(pageHint);