diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp index e475441f1..19fa23018 100644 --- a/src/qt/bitcoinamountfield.cpp +++ b/src/qt/bitcoinamountfield.cpp @@ -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); diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h index 2171578ee..67304c8b3 100644 --- a/src/qt/bitcoinamountfield.h +++ b/src/qt/bitcoinamountfield.h @@ -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 diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui index 3aaec1b53..b88839a7c 100644 --- a/src/qt/forms/sendcoinsdialog.ui +++ b/src/qt/forms/sendcoinsdialog.ui @@ -91,11 +91,7 @@ - - - Qt::TabFocus - - +