Add spacer so lack of scope/vfo doesn't deform other controls.

creator-widgets
Phil Taylor 2024-03-25 17:53:01 +00:00
rodzic 84c576c8a7
commit 11de766bfd
2 zmienionych plików z 14 dodań i 1 usunięć

Wyświetl plik

@ -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);
}
}

Wyświetl plik

@ -48,6 +48,19 @@
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<spacer name="scopeSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="vfoLayout">
<property name="spacing">
@ -1245,7 +1258,6 @@
<widget class="QPushButton" name="exitBtn">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>