Browse Source

make amount field the same width as decimals field

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
2566b30c38
  1. 2
      src/qt/bitcoinamountfield.cpp

2
src/qt/bitcoinamountfield.cpp

@ -18,7 +18,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent): @@ -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);

Loading…
Cancel
Save