mirror of
https://github.com/feather-wallet/feather.git
synced 2025-02-02 11:16:56 +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 "ui_BalanceDialog.h"
|
||||||
|
|
||||||
#include "libwalletqt/WalletManager.h"
|
#include "libwalletqt/WalletManager.h"
|
||||||
|
#include "model/ModelUtils.h"
|
||||||
|
|
||||||
BalanceDialog::BalanceDialog(QWidget *parent, Wallet *wallet)
|
BalanceDialog::BalanceDialog(QWidget *parent, Wallet *wallet)
|
||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
|
@ -16,8 +17,13 @@ BalanceDialog::BalanceDialog(QWidget *parent, Wallet *wallet)
|
||||||
"This will take 20 minutes on average.");
|
"This will take 20 minutes on average.");
|
||||||
|
|
||||||
ui->label_unconfirmed->setText(WalletManager::displayAmount(wallet->balance() - wallet->unlockedBalance()));
|
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->setText(WalletManager::displayAmount(wallet->unlockedBalance()));
|
||||||
|
ui->label_spendable->setFont(ModelUtils::getMonospaceFont());
|
||||||
|
|
||||||
ui->label_total->setText(WalletManager::displayAmount(wallet->balance()));
|
ui->label_total->setText(WalletManager::displayAmount(wallet->balance()));
|
||||||
|
ui->label_total->setFont(ModelUtils::getMonospaceFont());
|
||||||
|
|
||||||
this->adjustSize();
|
this->adjustSize();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue