diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-20 05:54:31 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:35 +0100 | 
| commit | 9e9e96ec24b7ad7b83f7d25d7d620c2be619d98a (patch) | |
| tree | 7ca270884681024a7b175e3f84767cf67761d87e | |
| parent | 8e0334858ea860d558cb78779d3edda9f9a9fb0f (diff) | |
opentrack: use even smaller layout with 320x240 preview
| -rw-r--r-- | opentrack/main-window.ui | 64 | 
1 files changed, 23 insertions, 41 deletions
diff --git a/opentrack/main-window.ui b/opentrack/main-window.ui index 0e6867e1..623698e0 100644 --- a/opentrack/main-window.ui +++ b/opentrack/main-window.ui @@ -7,8 +7,8 @@     <rect>      <x>0</x>      <y>0</y> -    <width>466</width> -    <height>498</height> +    <width>338</width> +    <height>418</height>     </rect>    </property>    <property name="sizePolicy"> @@ -17,12 +17,6 @@      <verstretch>0</verstretch>     </sizepolicy>    </property> -  <property name="minimumSize"> -   <size> -    <width>466</width> -    <height>0</height> -   </size> -  </property>    <property name="windowIcon">     <iconset resource="../gui/opentrack-res.qrc">      <normaloff>:/images/opentrack.png</normaloff>:/images/opentrack.png</iconset> @@ -39,18 +33,24 @@      </sizepolicy>     </property>     <layout class="QVBoxLayout" name="verticalLayout"> +    <property name="leftMargin"> +     <number>4</number> +    </property> +    <property name="rightMargin"> +     <number>4</number> +    </property>      <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">       <widget class="QWidget" name="frame_parent" native="true">        <property name="sizePolicy"> -       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> +       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">          <horstretch>0</horstretch>          <verstretch>0</verstretch>         </sizepolicy>        </property>        <property name="minimumSize">         <size> -        <width>448</width> -        <height>320</height> +        <width>320</width> +        <height>240</height>         </size>        </property>        <widget class="pose_widget" name="pose_display" native="true"> @@ -58,30 +58,24 @@          <rect>           <x>0</x>           <y>0</y> -         <width>448</width> -         <height>320</height> +         <width>320</width> +         <height>240</height>          </rect>         </property>         <property name="sizePolicy"> -        <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> +        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">           <horstretch>0</horstretch>           <verstretch>0</verstretch>          </sizepolicy>         </property> -       <property name="minimumSize"> -        <size> -         <width>448</width> -         <height>320</height> -        </size> -       </property>        </widget>        <widget class="QWidget" name="video_frame_parent" native="true">         <property name="geometry">          <rect> -         <x>11</x> +         <x>0</x>           <y>0</y> -         <width>426</width> -         <height>320</height> +         <width>320</width> +         <height>240</height>          </rect>         </property>         <property name="sizePolicy"> @@ -92,8 +86,8 @@         </property>         <property name="minimumSize">          <size> -         <width>426</width> -         <height>320</height> +         <width>320</width> +         <height>240</height>          </size>         </property>         <widget class="QFrame" name="video_frame"> @@ -101,8 +95,8 @@           <rect>            <x>0</x>            <y>0</y> -          <width>448</width> -          <height>320</height> +          <width>320</width> +          <height>240</height>           </rect>          </property>          <property name="sizePolicy"> @@ -111,12 +105,6 @@            <verstretch>0</verstretch>           </sizepolicy>          </property> -        <property name="minimumSize"> -         <size> -          <width>426</width> -          <height>320</height> -         </size> -        </property>          <property name="frameShape">           <enum>QFrame::NoFrame</enum>          </property> @@ -125,8 +113,8 @@        <widget class="QCheckBox" name="preview_checkbox">         <property name="geometry">          <rect> -         <x>370</x> -         <y>290</y> +         <x>250</x> +         <y>220</y>           <width>67</width>           <height>18</height>          </rect> @@ -359,12 +347,6 @@          <verstretch>0</verstretch>         </sizepolicy>        </property> -      <property name="minimumSize"> -       <size> -        <width>0</width> -        <height>0</height> -       </size> -      </property>        <property name="title">         <string>Tracking</string>        </property>  | 
