diff --git a/GUI/coregui/mainwindow/mainwindow.cpp b/GUI/coregui/mainwindow/mainwindow.cpp index 9b5c57e7ba5e4301544fe5ef7a4b7e1405de8629..1c7de8bd551fd7ea605f96f0ce226df7f7d8f099 100644 --- a/GUI/coregui/mainwindow/mainwindow.cpp +++ b/GUI/coregui/mainwindow/mainwindow.cpp @@ -74,8 +74,8 @@ MainWindow::MainWindow() m_viewSelectionButtonsLayout->setSpacing(0); auto fillerButton = createViewSelectionButton(); - fillerButton->setMinimumSize(70, 5); // #TODO: High-DPI? - fillerButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::MinimumExpanding); + fillerButton->setMinimumSize(5, 5); + fillerButton->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); fillerButton->setEnabled(false); m_viewSelectionButtonsLayout->insertWidget(-1, fillerButton);