diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:35:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-09 12:35:01 +0100 |
commit | bad34742736f7d9ee781f77766629140a49d6f28 (patch) | |
tree | 0e8e4f6a2a055a23be4835d7fa1ca2564f474482 | |
parent | 31556c06af55ae63d2a29ddf4888e35e4bcb5782 (diff) |
few: fix spacers breaking layout reflow
-rw-r--r-- | gui/options-dialog.ui | 20 | ||||
-rw-r--r-- | tracker-aruco/aruco-trackercontrols.ui | 31 | ||||
-rw-r--r-- | tracker-hatire/ftnoir_hatcontrols.ui | 2 | ||||
-rw-r--r-- | tracker-pt/FTNoIR_PT_Controls.ui | 2 | ||||
-rw-r--r-- | tracker-test/test.ui | 17 |
5 files changed, 14 insertions, 58 deletions
diff --git a/gui/options-dialog.ui b/gui/options-dialog.ui index f49d6cde..250e2b9e 100644 --- a/gui/options-dialog.ui +++ b/gui/options-dialog.ui @@ -6,22 +6,10 @@ <rect> <x>0</x> <y>0</y> - <width>455</width> - <height>599</height> + <width>404</width> + <height>597</height> </rect> </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>450</width> - <height>0</height> - </size> - </property> <property name="windowTitle"> <string>Options</string> </property> @@ -53,7 +41,7 @@ </attribute> <layout class="QVBoxLayout" name="verticalLayout"> <property name="bottomMargin"> - <number>2</number> + <number>9</number> </property> <item> <widget class="QGroupBox" name="groupBox_8"> @@ -451,7 +439,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> diff --git a/tracker-aruco/aruco-trackercontrols.ui b/tracker-aruco/aruco-trackercontrols.ui index 7d7be812..8e6b30a6 100644 --- a/tracker-aruco/aruco-trackercontrols.ui +++ b/tracker-aruco/aruco-trackercontrols.ui @@ -10,15 +10,9 @@ <x>0</x> <y>0</y> <width>453</width> - <height>224</height> + <height>218</height> </rect> </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="windowTitle"> <string>Tracker settings</string> </property> @@ -36,18 +30,12 @@ </property> </widget> </item> - <item row="6" column="0"> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> + <item row="5" column="0"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> - </spacer> + </widget> </item> <item row="3" column="0"> <widget class="QFrame" name="frame_3"> @@ -302,13 +290,6 @@ </layout> </widget> </item> - <item row="5" column="0"> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> </layout> </widget> <resources/> diff --git a/tracker-hatire/ftnoir_hatcontrols.ui b/tracker-hatire/ftnoir_hatcontrols.ui index da9347ed..8b07e42e 100644 --- a/tracker-hatire/ftnoir_hatcontrols.ui +++ b/tracker-hatire/ftnoir_hatcontrols.ui @@ -833,7 +833,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> diff --git a/tracker-pt/FTNoIR_PT_Controls.ui b/tracker-pt/FTNoIR_PT_Controls.ui index 8973a48c..a72ac50d 100644 --- a/tracker-pt/FTNoIR_PT_Controls.ui +++ b/tracker-pt/FTNoIR_PT_Controls.ui @@ -1191,7 +1191,7 @@ <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> diff --git a/tracker-test/test.ui b/tracker-test/test.ui index 2b33524f..1141d584 100644 --- a/tracker-test/test.ui +++ b/tracker-test/test.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>352</width> - <height>224</height> + <width>184</width> + <height>39</height> </rect> </property> <property name="windowTitle"> @@ -28,19 +28,6 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <spacer name="verticalSpacer"> - <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> <widget class="QDialogButtonBox" name="buttonBox"> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |