From 11de766bfd4ce4587b012a83f373c5ceef45e390 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Mon, 25 Mar 2024 17:53:01 +0000 Subject: [PATCH] Add spacer so lack of scope/vfo doesn't deform other controls. --- wfmain.cpp | 1 + wfmain.ui | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/wfmain.cpp b/wfmain.cpp index aa3dc62..c8c22fc 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -1072,6 +1072,7 @@ void wfmain::configureVFOs() connect(vfo,SIGNAL(showStatusBarText(QString)),this,SLOT(showStatusBarText(QString))); vfos.append(vfo); + ui->scopeSpacer->changeSize(0,0,QSizePolicy::Minimum); } } diff --git a/wfmain.ui b/wfmain.ui index c325d9c..130b06c 100644 --- a/wfmain.ui +++ b/wfmain.ui @@ -48,6 +48,19 @@ 3 + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -1245,7 +1258,6 @@ - 50 false