summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-07-30 22:50:31 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-31 10:32:09 -0700
commit5c1acca2121e33b896a451e475cb7d5102257dd8 (patch)
treedca73068cccbdf5cca07339fab5dd71c5a375d51 /qt-ui
parente8720c2918f11f3171e73c5838aaf8098bc8e006 (diff)
downloadsubsurface-5c1acca2121e33b896a451e475cb7d5102257dd8.tar.gz
Fixed layout spacing issues.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/locationInformation.ui37
1 files changed, 15 insertions, 22 deletions
diff --git a/qt-ui/locationInformation.ui b/qt-ui/locationInformation.ui
index 30034a016..cb9ddb829 100644
--- a/qt-ui/locationInformation.ui
+++ b/qt-ui/locationInformation.ui
@@ -17,6 +17,12 @@
<string>Dive Site</string>
</property>
<layout class="QGridLayout" name="gridLayout">
+ <property name="horizontalSpacing">
+ <number>-1</number>
+ </property>
+ <property name="verticalSpacing">
+ <number>4</number>
+ </property>
<item row="0" column="0" colspan="2">
<widget class="KMessageWidget" name="diveSiteMessage" native="true">
<property name="sizePolicy">
@@ -27,6 +33,9 @@
</property>
</widget>
</item>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="diveSiteName"/>
+ </item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
@@ -47,9 +56,6 @@
</property>
</spacer>
</item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="diveSiteCoordinates"/>
- </item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
@@ -71,26 +77,15 @@
</property>
</widget>
</item>
- <item row="2" column="2">
- <widget class="QToolButton" name="btnPickCoordinates">
- <property name="text">
- <string>Pick on the globe</string>
- </property>
- <property name="icon">
- <iconset resource="../subsurface.qrc">
- <normaloff>:/geocode</normaloff>:/geocode</iconset>
- </property>
- </widget>
+ <item row="4" column="1" rowspan="2">
+ <widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
- <item row="1" column="1" colspan="2">
- <widget class="QLineEdit" name="diveSiteName"/>
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="diveSiteCoordinates"/>
</item>
- <item row="3" column="1" colspan="2">
+ <item row="3" column="1">
<widget class="QLineEdit" name="diveSiteDescription"/>
</item>
- <item row="4" column="1" rowspan="2" colspan="2">
- <widget class="QPlainTextEdit" name="diveSiteNotes"/>
- </item>
</layout>
</widget>
<customwidgets>
@@ -101,8 +96,6 @@
<container>1</container>
</customwidget>
</customwidgets>
- <resources>
- <include location="../subsurface.qrc"/>
- </resources>
+ <resources/>
<connections/>
</ui>