Fixed layout spacing issues.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-07-30 22:50:31 -03:00 committed by Dirk Hohndel
parent e8720c2918
commit 5c1acca212

View file

@ -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>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteName"/>
</item>
<item row="3" column="1" colspan="2">
<widget class="QLineEdit" name="diveSiteDescription"/>
</item>
<item row="4" column="1" rowspan="2" colspan="2">
<item row="4" column="1" rowspan="2">
<widget class="QPlainTextEdit" name="diveSiteNotes"/>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="diveSiteCoordinates"/>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="diveSiteDescription"/>
</item>
</layout>
</widget>
<customwidgets>
@ -101,8 +96,6 @@
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../subsurface.qrc"/>
</resources>
<resources/>
<connections/>
</ui>