aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-28 14:47:28 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-28 14:48:30 +0100
commit7ae454084ba395c9957c008a66360d3cbfd139a1 (patch)
tree725233f81b9cf4a31fba7d8109a0930de55fc147
parent2315cc82a7c12256002893dff105ea4cff113a6d (diff)
qt: make receive coins tab look more consistent with send coins tab
Use a GridLayout instead of a FormLayout. This makes the alignment of the labels consistent between the tabs.
-rw-r--r--src/qt/forms/receivecoinsdialog.ui27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/qt/forms/receivecoinsdialog.ui b/src/qt/forms/receivecoinsdialog.ui
index dbb19cff4d..6d1a72ecd2 100644
--- a/src/qt/forms/receivecoinsdialog.ui
+++ b/src/qt/forms/receivecoinsdialog.ui
@@ -12,15 +12,15 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
- <layout class="QFormLayout" name="formLayout">
- <property name="fieldGrowthPolicy">
- <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
- </property>
+ <layout class="QGridLayout" name="gridLayout">
<item row="3" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>&amp;Amount:</string>
</property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
<property name="buddy">
<cstring>reqAmount</cstring>
</property>
@@ -44,6 +44,9 @@
<property name="text">
<string>&amp;Label:</string>
</property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
<property name="buddy">
<cstring>reqLabel</cstring>
</property>
@@ -61,6 +64,9 @@
<property name="text">
<string>&amp;Message:</string>
</property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
<property name="buddy">
<cstring>reqMessage</cstring>
</property>
@@ -100,6 +106,19 @@
</layout>
</item>
<item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="clearButton">