LibreVNA-GUI: Remove obsolete 'setMargin' calls
This commit is contained in:
parent
714953f8aa
commit
daf7218cfd
@ -1473,7 +1473,6 @@ QWidget *Marker::getTypeEditor(QAbstractItemDelegate *delegate)
|
|||||||
layout->addWidget(c);
|
layout->addWidget(c);
|
||||||
c->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
c->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
layout->setContentsMargins(0,0,0,0);
|
layout->setContentsMargins(0,0,0,0);
|
||||||
layout->setMargin(0);
|
|
||||||
layout->setSpacing(0);
|
layout->setSpacing(0);
|
||||||
layout->addWidget(new QLabel("to"));
|
layout->addWidget(new QLabel("to"));
|
||||||
auto deltaChooser = new QComboBox;
|
auto deltaChooser = new QComboBox;
|
||||||
|
@ -38,7 +38,6 @@ void ModeWindow::SetupUi()
|
|||||||
auto cornerWidget = new QWidget();
|
auto cornerWidget = new QWidget();
|
||||||
cornerWidget->setLayout(new QHBoxLayout);
|
cornerWidget->setLayout(new QHBoxLayout);
|
||||||
cornerWidget->layout()->setSpacing(0);
|
cornerWidget->layout()->setSpacing(0);
|
||||||
cornerWidget->layout()->setMargin(0);
|
|
||||||
cornerWidget->layout()->setContentsMargins(0,0,0,0);
|
cornerWidget->layout()->setContentsMargins(0,0,0,0);
|
||||||
cornerWidget->setMaximumHeight(aw->menuBar()->height());
|
cornerWidget->setMaximumHeight(aw->menuBar()->height());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user