Browse Source

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.
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
7ae454084b
  1. 27
      src/qt/forms/receivecoinsdialog.ui

27
src/qt/forms/receivecoinsdialog.ui

@ -12,15 +12,15 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QFormLayout" name="formLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>&amp;Amount:</string> <string>&amp;Amount:</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy"> <property name="buddy">
<cstring>reqAmount</cstring> <cstring>reqAmount</cstring>
</property> </property>
@ -44,6 +44,9 @@
<property name="text"> <property name="text">
<string>&amp;Label:</string> <string>&amp;Label:</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy"> <property name="buddy">
<cstring>reqLabel</cstring> <cstring>reqLabel</cstring>
</property> </property>
@ -61,6 +64,9 @@
<property name="text"> <property name="text">
<string>&amp;Message:</string> <string>&amp;Message:</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy"> <property name="buddy">
<cstring>reqMessage</cstring> <cstring>reqMessage</cstring>
</property> </property>
@ -99,6 +105,19 @@
</item> </item>
</layout> </layout>
</item> </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> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>

Loading…
Cancel
Save