mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
Increased max width of amount field to prevent number overflow bug.
This commit is contained in:
parent
d792e47421
commit
5f3cbde9de
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent) :
|
||||||
amount = new AmountSpinBox(this);
|
amount = new AmountSpinBox(this);
|
||||||
amount->setLocale(QLocale::c());
|
amount->setLocale(QLocale::c());
|
||||||
amount->installEventFilter(this);
|
amount->installEventFilter(this);
|
||||||
amount->setMaximumWidth(170);
|
amount->setMaximumWidth(240);
|
||||||
|
|
||||||
QHBoxLayout *layout = new QHBoxLayout(this);
|
QHBoxLayout *layout = new QHBoxLayout(this);
|
||||||
layout->addWidget(amount);
|
layout->addWidget(amount);
|
||||||
|
|
Loading…
Add table
Reference in a new issue