From fc309a439742910db439e3d4dc673842cad8ed4b Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 11 Nov 2018 18:17:38 -0800 Subject: [PATCH] Allow window to size to down to as small as you want --- src/ui/MainWindow.cc | 3 --- src/ui/MainWindow.ui | 21 +-------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 565761c0d..1116629e6 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -131,9 +131,6 @@ MainWindow::MainWindow() emit initStatusChanged(tr("Setting up user interface"), Qt::AlignLeft | Qt::AlignBottom, QColor(62, 93, 141)); _ui.setupUi(this); - // Make sure tool bar elements all fit before changing minimum width - setMinimumWidth(1024); - setMinimumHeight(620); configureWindowName(); // Setup central widget with a layout to hold the views diff --git a/src/ui/MainWindow.ui b/src/ui/MainWindow.ui index 312c86da8..8464ddce8 100644 --- a/src/ui/MainWindow.ui +++ b/src/ui/MainWindow.ui @@ -10,12 +10,6 @@ 600 - - - 640 - 400 - - 1100 @@ -31,20 +25,7 @@ - - - - 0 - 0 - - - - - 200 - 150 - - - + -- 2.22.0