mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-24 02:28:33 +02:00
BalanceDialog: use monospace font
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user