@ -26,6 +26,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent):
layout->addWidget(new QLabel(QString(".")));
layout->addWidget(decimals);
layout->addStretch(1);
layout->setContentsMargins(0,0,0,0);
setFocusPolicy(Qt::TabFocus);
setLayout(layout);
@ -7,6 +7,8 @@ QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE
// Coin amount entry widget with separate parts for whole
// coins and decimals.
class BitcoinAmountField: public QWidget
{
Q_OBJECT
@ -91,11 +91,7 @@
</widget>
</item>
<item row="4" column="1">
<widget class="BitcoinAmountField" name="payAmount" native="true">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<widget class="BitcoinAmountField" name="payAmount" native="true"/>
</layout>