1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Set DATV GUI to be minimum sized rather than expanding. Set minimum size constaint on videoTab not just tabWidget

This commit is contained in:
Jon Beniston 2021-10-31 12:14:04 +00:00
parent 05987586bf
commit 8f94593a0c

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -22,6 +22,12 @@
<height>442</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>530</width>
<height>476</height>
</size>
</property>
<property name="font">
<font>
<family>Liberation Sans</family>
@ -191,6 +197,12 @@
<height>431</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>526</width>
@ -207,6 +219,12 @@
<number>1</number>
</property>
<widget class="QWidget" name="datvTab">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<attribute name="title">
<string>DATV</string>
</attribute>
@ -1074,11 +1092,17 @@
</widget>
<widget class="QWidget" name="videoTab">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>526</width>
<height>400</height>
</size>
</property>
<attribute name="title">
<string>Video</string>
</attribute>
@ -1091,6 +1115,12 @@
<height>111</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>VIDEO Stream</string>
</property>
@ -1338,15 +1368,21 @@
<item>
<widget class="DATVideoRender" name="screenTV_2" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>493</width>
<height>279</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>490</width>
<height>270</height>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>