mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Replace setMargin with setContentsMargins
This commit is contained in:
parent
5e1e0b1d4a
commit
8207f75297
@ -55,7 +55,7 @@ YACReaderSlider::YACReaderSlider(QWidget *parent)
|
|||||||
pLayout->addWidget(resetButton, 1, Qt::AlignHCenter | Qt::AlignBottom);
|
pLayout->addWidget(resetButton, 1, Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
pLayout->setSpacing(elementsSpacing);
|
pLayout->setSpacing(elementsSpacing);
|
||||||
|
|
||||||
pLayout->setMargin(0);
|
pLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
setLayout(pLayout);
|
setLayout(pLayout);
|
||||||
setAutoFillBackground(false);
|
setAutoFillBackground(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user