diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:00:40 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:36 +0100 |
commit | 344aa5057a05a008fc688c367852c17f1a9ab334 (patch) | |
tree | e560d2002e308ab697922c0141c1c13c5f3a3bf3 /tracker-neuralnet | |
parent | d9c08de6846435b2f9b685dd19124522943c52a4 (diff) |
tracker/nn: fix layout stretching itself
Diffstat (limited to 'tracker-neuralnet')
-rw-r--r-- | tracker-neuralnet/neuralnet-trackercontrols.ui | 77 |
1 files changed, 45 insertions, 32 deletions
diff --git a/tracker-neuralnet/neuralnet-trackercontrols.ui b/tracker-neuralnet/neuralnet-trackercontrols.ui index c03f866c..1c3e9eb6 100644 --- a/tracker-neuralnet/neuralnet-trackercontrols.ui +++ b/tracker-neuralnet/neuralnet-trackercontrols.ui @@ -10,29 +10,13 @@ <x>0</x> <y>0</y> <width>445</width> - <height>355</height> + <height>290</height> </rect> </property> <property name="windowTitle"> <string>Tracker settings</string> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="7" column="0"> - <widget class="QLabel" name="resolution_display"> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="frameShape"> - <enum>QFrame::Panel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - <property name="text"> - <string notr="true"/> - </property> - </widget> - </item> <item row="3" column="0"> <widget class="QGroupBox" name="groupBox_10"> <property name="sizePolicy"> @@ -253,23 +237,19 @@ Don't roll or change position.</string> </layout> </widget> </item> - <item row="5" column="0"> - <widget class="QPushButton" name="camera_settings"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item row="7" column="0"> + <widget class="QLabel" name="resolution_display"> + <property name="autoFillBackground"> + <bool>true</bool> </property> - <property name="text"> - <string>Camera settings</string> + <property name="frameShape"> + <enum>QFrame::Panel</enum> </property> - </widget> - </item> - <item row="9" column="0"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="text"> + <string notr="true"/> </property> </widget> </item> @@ -305,6 +285,39 @@ Don't roll or change position.</string> </layout> </widget> </item> + <item row="5" column="0"> + <widget class="QPushButton" name="camera_settings"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Camera settings</string> + </property> + </widget> + </item> + <item row="10" column="0"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + <item row="8" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>0</height> + </size> + </property> + </spacer> + </item> </layout> </widget> <resources/> |