Browse Source

make amount column wider, so that more decimals fit in

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
b5384e93ed
  1. 6
      src/qt/transactionview.cpp

6
src/qt/transactionview.cpp

@ -61,8 +61,8 @@ TransactionView::TransactionView(QWidget *parent) : @@ -61,8 +61,8 @@ TransactionView::TransactionView(QWidget *parent) :
amountWidget = new QLineEdit(this);
amountWidget->setPlaceholderText("Min amount");
amountWidget->setMaximumWidth(79);
amountWidget->setMinimumWidth(79);
amountWidget->setMaximumWidth(100);
amountWidget->setMinimumWidth(100);
amountWidget->setValidator(new QDoubleValidator(0, 1e20, 8, this));
hlayout->addWidget(amountWidget);
@ -115,7 +115,7 @@ void TransactionView::setModel(TransactionTableModel *model) @@ -115,7 +115,7 @@ void TransactionView::setModel(TransactionTableModel *model)
transactionView->horizontalHeader()->setResizeMode(
TransactionTableModel::ToAddress, QHeaderView::Stretch);
transactionView->horizontalHeader()->resizeSection(
TransactionTableModel::Amount, 79);
TransactionTableModel::Amount, 100);
}

Loading…
Cancel
Save