summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-09 21:08:30 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-09 13:19:09 -0700
commit72aeb53e191c1e717aa0216387149b925cb3d52f (patch)
tree6e8ba4411bf36cfd886226a8005e49afb1df0ee2 /qt-ui/divelogimportdialog.ui
parentb1d7ba9f6346bdd9c54866712e67de03ddd3687f (diff)
downloadsubsurface-72aeb53e191c1e717aa0216387149b925cb3d52f.tar.gz
Align CSVUnits with the other QComboBoxes
The CSVUnits QComboBox wasn't in a layout and that made it look a bit weird. This adds a layout around it. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.ui')
-rw-r--r--qt-ui/divelogimportdialog.ui44
1 files changed, 14 insertions, 30 deletions
diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui
index 03d12d6af..d6d07ce7f 100644
--- a/qt-ui/divelogimportdialog.ui
+++ b/qt-ui/divelogimportdialog.ui
@@ -31,12 +31,6 @@
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" rowspan="3">
<widget class="QGroupBox" name="groupBox_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
<property name="title">
<string>Field Configuration</string>
</property>
@@ -181,12 +175,6 @@
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_4">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
<property name="title">
<string>Pre-configured imports</string>
</property>
@@ -206,26 +194,22 @@
<property name="title">
<string>Units</string>
</property>
- <widget class="QComboBox" name="CSVUnits">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>30</y>
- <width>251</width>
- <height>29</height>
- </rect>
- </property>
- <item>
- <property name="text">
- <string>Metric</string>
- </property>
- </item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
- <property name="text">
- <string>Imperial</string>
- </property>
+ <widget class="QComboBox" name="CSVUnits">
+ <item>
+ <property name="text">
+ <string>Metric</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Imperial</string>
+ </property>
+ </item>
+ </widget>
</item>
- </widget>
+ </layout>
</widget>
</item>
<item row="3" column="1">