]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
BalanceDialog: use monospace font
authortobtoht <thotbot@protonmail.com>
Thu, 8 Jul 2021 11:20:41 +0000 (13:20 +0200)
committertobtoht <thotbot@protonmail.com>
Thu, 8 Jul 2021 11:20:41 +0000 (13:20 +0200)
src/dialog/BalanceDialog.cpp

index 1d196c3551ed2f76ca4d0e79a87973cb83c87da4..7c4900071696c60e435cd8fc6519063a1063238d 100644 (file)
@@ -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();
 }