summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-13 05:28:43 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-13 05:28:43 (GMT)
commit861e5adb6ad8331a9fa4f56f2533eb4b54fc76c5 (patch)
treef1a603f2c2df5c58138e7509ac59d2ded530d768
parent757ca724e27df8acc2b37ba845f5e31a5d214209 (diff)
Align elevation edit widget to the top in EditPlacemarkDialog
-rw-r--r--src/lib/marble/ElevationWidget.ui71
1 files changed, 44 insertions, 27 deletions
diff --git a/src/lib/marble/ElevationWidget.ui b/src/lib/marble/ElevationWidget.ui
index c8dca5e..2a3c873 100644
--- a/src/lib/marble/ElevationWidget.ui
+++ b/src/lib/marble/ElevationWidget.ui
@@ -10,40 +10,57 @@
<height>114</height>
</rect>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout">
+ <layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QLabel" name="elevationLabel">
- <property name="text">
- <string>Elevation:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="elevationSpinBox">
- <property name="suffix">
- <string> m</string>
- </property>
- <property name="maximum">
- <double>1000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="elevationModeLabel">
- <property name="text">
- <string>above sea level</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QLabel" name="elevationLabel">
+ <property name="text">
+ <string>Elevation:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDoubleSpinBox" name="elevationSpinBox">
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="maximum">
+ <double>1000000.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="elevationModeLabel">
+ <property name="text">
+ <string>above sea level</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>29</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</item>
<item>
- <spacer name="horizontalSpacer">
+ <spacer name="verticalSpacer">
<property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>29</width>
- <height>20</height>
+ <width>20</width>
+ <height>72</height>
</size>
</property>
</spacer>