diff --git a/Software/PC_Application/LibreVNA-GUI/Traces/Marker/marker.cpp b/Software/PC_Application/LibreVNA-GUI/Traces/Marker/marker.cpp index cfe4b9f..eb5b63c 100644 --- a/Software/PC_Application/LibreVNA-GUI/Traces/Marker/marker.cpp +++ b/Software/PC_Application/LibreVNA-GUI/Traces/Marker/marker.cpp @@ -1473,7 +1473,6 @@ QWidget *Marker::getTypeEditor(QAbstractItemDelegate *delegate) layout->addWidget(c); c->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); layout->setContentsMargins(0,0,0,0); - layout->setMargin(0); layout->setSpacing(0); layout->addWidget(new QLabel("to")); auto deltaChooser = new QComboBox; diff --git a/Software/PC_Application/LibreVNA-GUI/modewindow.cpp b/Software/PC_Application/LibreVNA-GUI/modewindow.cpp index 12bf87a..70be6f1 100644 --- a/Software/PC_Application/LibreVNA-GUI/modewindow.cpp +++ b/Software/PC_Application/LibreVNA-GUI/modewindow.cpp @@ -38,7 +38,6 @@ void ModeWindow::SetupUi() auto cornerWidget = new QWidget(); cornerWidget->setLayout(new QHBoxLayout); cornerWidget->layout()->setSpacing(0); - cornerWidget->layout()->setMargin(0); cornerWidget->layout()->setContentsMargins(0,0,0,0); cornerWidget->setMaximumHeight(aw->menuBar()->height());