diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-04-27 20:34:09 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-01 21:24:02 -0700 |
commit | 9c91264f844b26d6cab6edd51cca41fdf17f5293 (patch) | |
tree | 80942c40394db61eb1479370ac6955b79e3218de | |
parent | d5af6cab9ffdd7e27c2d78c25646c9d61f9f8a28 (diff) | |
download | subsurface-9c91264f844b26d6cab6edd51cca41fdf17f5293.tar.gz |
Change layout of information and statistics tab...
... to make it look more similar. This includes:
- Same spacings between the boxes
- Same way how to use the available space
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveInformation.ui | 11 | ||||
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveStatistics.ui | 34 |
2 files changed, 38 insertions, 7 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.ui b/desktop-widgets/tab-widgets/TabDiveInformation.ui index feb547334..3e855d1c7 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.ui +++ b/desktop-widgets/tab-widgets/TabDiveInformation.ui @@ -30,8 +30,8 @@ <rect> <x>0</x> <y>0</y> - <width>388</width> - <height>409</height> + <width>382</width> + <height>403</height> </rect> </property> <layout class="QGridLayout" name="diveInfoScrollAreaLayout"> @@ -47,8 +47,11 @@ <property name="bottomMargin"> <number>0</number> </property> - <property name="spacing"> - <number>2</number> + <property name="horizontalSpacing"> + <number>6</number> + </property> + <property name="verticalSpacing"> + <number>0</number> </property> <item row="0" column="0"> <widget class="QGroupBox" name="groupBox_5"> diff --git a/desktop-widgets/tab-widgets/TabDiveStatistics.ui b/desktop-widgets/tab-widgets/TabDiveStatistics.ui index 05a26cb3f..d954dca3b 100644 --- a/desktop-widgets/tab-widgets/TabDiveStatistics.ui +++ b/desktop-widgets/tab-widgets/TabDiveStatistics.ui @@ -7,15 +7,24 @@ <x>0</x> <y>0</y> <width>400</width> - <height>300</height> + <height>304</height> </rect> </property> <property name="windowTitle"> <string>Statistics</string> </property> <layout class="QGridLayout" name="gridLayout"> + <property name="verticalSpacing"> + <number>0</number> + </property> <item row="0" column="0"> <widget class="QScrollArea" name="scrollArea_4"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> @@ -30,8 +39,8 @@ <rect> <x>0</x> <y>0</y> - <width>388</width> - <height>288</height> + <width>382</width> + <height>286</height> </rect> </property> <layout class="QHBoxLayout" name="horizontalLayout"> @@ -49,9 +58,15 @@ </property> <item> <layout class="QGridLayout" name="gridLayout_2"> + <property name="sizeConstraint"> + <enum>QLayout::SetMinimumSize</enum> + </property> <property name="horizontalSpacing"> <number>6</number> </property> + <property name="verticalSpacing"> + <number>0</number> + </property> <item row="1" column="0"> <widget class="QGroupBox" name="groupBoxb"> <property name="title"> @@ -157,6 +172,19 @@ </layout> </widget> </item> + <item row="3" column="0"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> </layout> </item> </layout> |