summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2013-10-18 11:14:47 (GMT)
committerSwift Review <review@swift.im>2013-10-26 15:35:44 (GMT)
commit08289aadf4065e1c404af50e25ed511b2e839fdb (patch)
tree9dca27a5108406da1f062e20a985861e13db5f2b /Swift/QtUI/QtVCardWidget/QtVCardWidget.ui
parentc041a9ac96893d64f1b656c9ecb7f03eed1c310f (diff)
downloadswift-08289aadf4065e1c404af50e25ed511b2e839fdb.zip
swift-08289aadf4065e1c404af50e25ed511b2e839fdb.tar.bz2
VCard: Move 'Add Field' button inside the scroll view.
Change-Id: I1259e6de80a5c8781ba71dad1a52228f37a7ce7e License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardWidget.ui')
-rw-r--r--Swift/QtUI/QtVCardWidget/QtVCardWidget.ui45
1 files changed, 23 insertions, 22 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardWidget.ui b/Swift/QtUI/QtVCardWidget/QtVCardWidget.ui
index eae1006..4fc8605 100644
--- a/Swift/QtUI/QtVCardWidget/QtVCardWidget.ui
+++ b/Swift/QtUI/QtVCardWidget/QtVCardWidget.ui
@@ -13,8 +13,17 @@
<property name="windowTitle">
<string>Form</string>
</property>
- <layout class="QGridLayout" name="gridLayout" rowstretch="1,0" columnstretch="1,0">
- <property name="margin">
+ <layout class="QGridLayout" name="gridLayout" rowstretch="1" columnstretch="1,0">
+ <property name="leftMargin">
+ <number>5</number>
+ </property>
+ <property name="topMargin">
+ <number>5</number>
+ </property>
+ <property name="rightMargin">
+ <number>5</number>
+ </property>
+ <property name="bottomMargin">
<number>5</number>
</property>
<item row="0" column="0" colspan="2">
@@ -64,7 +73,7 @@
<x>0</x>
<y>0</y>
<width>523</width>
- <height>76</height>
+ <height>110</height>
</rect>
</property>
<property name="sizePolicy">
@@ -77,12 +86,20 @@
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
- <layout class="QGridLayout" name="cardFields">
- </layout>
+ <layout class="QGridLayout" name="cardFields"/>
</item>
<item>
<spacer name="verticalSpacer">
@@ -106,22 +123,6 @@
</item>
</layout>
</item>
- <item row="1" column="1">
- <widget class="QToolButton" name="toolButton">
- <property name="text">
- <string>Add Field</string>
- </property>
- <property name="popupMode">
- <enum>QToolButton::InstantPopup</enum>
- </property>
- <property name="autoRaise">
- <bool>false</bool>
- </property>
- <property name="arrowType">
- <enum>Qt::NoArrow</enum>
- </property>
- </widget>
- </item>
</layout>
</widget>
<customwidgets>