mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-22 18:54:33 +00:00
BalanceDialog: use monospace font
This commit is contained in:
parent
86e81ca3fc
commit
7975c311b5
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "ui_BalanceDialog.h"
|
||||
|
||||
#include "libwalletqt/WalletManager.h"
|
||||
#include "model/ModelUtils.h"
|
||||
|
||||
BalanceDialog::BalanceDialog(QWidget *parent, Wallet *wallet)
|
||||
: QDialog(parent)
|
||||
|
@ -16,8 +17,13 @@ BalanceDialog::BalanceDialog(QWidget *parent, Wallet *wallet)
|
|||
"This will take 20 minutes on average.");
|
||||
|
||||
ui->label_unconfirmed->setText(WalletManager::displayAmount(wallet->balance() - wallet->unlockedBalance()));
|
||||
ui->label_unconfirmed->setFont(ModelUtils::getMonospaceFont());
|
||||
|
||||
ui->label_spendable->setText(WalletManager::displayAmount(wallet->unlockedBalance()));
|
||||
ui->label_spendable->setFont(ModelUtils::getMonospaceFont());
|
||||
|
||||
ui->label_total->setText(WalletManager::displayAmount(wallet->balance()));
|
||||
ui->label_total->setFont(ModelUtils::getMonospaceFont());
|
||||
|
||||
this->adjustSize();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue