Browse Source

put sendcoins entries in scroll area, so that window does not become bigger than screen with many recipients

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
1907b96d69
  1. 162
      src/qt/forms/sendcoinsdialog.ui
  2. 2
      src/qt/forms/sendcoinsentry.ui

162
src/qt/forms/sendcoinsdialog.ui

@ -15,78 +15,100 @@
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<layout class="QVBoxLayout" name="entries"> <widget class="QScrollArea" name="scrollArea">
<property name="spacing"> <property name="widgetResizable">
<number>6</number> <bool>true</bool>
</property> </property>
</layout> <widget class="QWidget" name="scrollAreaWidgetContents">
</item> <property name="geometry">
<item> <rect>
<layout class="QHBoxLayout" name="horizontalLayout"> <x>0</x>
<property name="spacing"> <y>0</y>
<number>12</number> <width>666</width>
</property> <height>197</height>
<item> </rect>
<spacer name="horizontalSpacer"> </property>
<property name="orientation"> <layout class="QVBoxLayout" name="verticalLayout_2">
<enum>Qt::Horizontal</enum> <property name="margin">
</property> <number>0</number>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="addButton">
<property name="text">
<string>&amp;Add recipient...</string>
</property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/add</normaloff>:/icons/add</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="sendButton">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Confirm the send action</string>
</property> </property>
<property name="text"> <item>
<string>&amp;Send</string> <layout class="QVBoxLayout" name="entries">
</property> <property name="spacing">
<property name="icon"> <number>6</number>
<iconset resource="../bitcoin.qrc"> </property>
<normaloff>:/icons/send</normaloff>:/icons/send</iconset> </layout>
</property> </item>
<property name="default"> <item>
<bool>true</bool> <layout class="QHBoxLayout" name="horizontalLayout">
</property> <property name="spacing">
</widget> <number>12</number>
</item> </property>
</layout> <item>
</item> <spacer name="horizontalSpacer">
<item> <property name="orientation">
<spacer name="verticalSpacer"> <enum>Qt::Horizontal</enum>
<property name="orientation"> </property>
<enum>Qt::Vertical</enum> <property name="sizeHint" stdset="0">
</property> <size>
<property name="sizeHint" stdset="0"> <width>40</width>
<size> <height>20</height>
<width>20</width> </size>
<height>40</height> </property>
</size> </spacer>
</property> </item>
</spacer> <item>
<widget class="QPushButton" name="addButton">
<property name="text">
<string>&amp;Add recipient...</string>
</property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/add</normaloff>:/icons/add</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="sendButton">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Confirm the send action</string>
</property>
<property name="text">
<string>&amp;Send</string>
</property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/send</normaloff>:/icons/send</iconset>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
</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>
</layout>
</widget>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>

2
src/qt/forms/sendcoinsentry.ui

@ -147,7 +147,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../bitcoin.qrc"> <iconset resource="../bitcoin.qrc">
<normaloff>:/icons/res/icons/remove.png</normaloff>:/icons/res/icons/remove.png</iconset> <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
</property> </property>
</widget> </widget>
</item> </item>

Loading…
Cancel
Save