summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveStatistics.ui
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-04-27 20:34:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-01 21:24:02 -0700
commit9c91264f844b26d6cab6edd51cca41fdf17f5293 (patch)
tree80942c40394db61eb1479370ac6955b79e3218de /desktop-widgets/tab-widgets/TabDiveStatistics.ui
parentd5af6cab9ffdd7e27c2d78c25646c9d61f9f8a28 (diff)
downloadsubsurface-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>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveStatistics.ui')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveStatistics.ui34
1 files changed, 31 insertions, 3 deletions
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>