make amount field the same width as decimals field

This commit is contained in:
Wladimir J. van der Laan 2011-08-03 14:06:13 +02:00
parent 6e903b0b32
commit 2566b30c38

View file

@ -18,7 +18,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent):
amount->setValidator(new QRegExpValidator(QRegExp("[0-9]*"), this));
amount->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
amount->installEventFilter(this);
amount->setMaximumWidth(100);
amount->setMaximumWidth(75);
decimals = new QValidatedLineEdit(this);
decimals->setValidator(new QRegExpValidator(QRegExp("[0-9]+"), this));
decimals->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);