Accounts: align balance right

This commit is contained in:
tobtoht 2021-05-27 03:15:56 +02:00
parent 7b367d28e2
commit ecf08db2ec
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -57,6 +57,11 @@ QVariant SubaddressAccountModel::data(const QModelIndex &index, int role) const
result = ModelUtils::getMonospaceFont();
}
}
else if (role == Qt::TextAlignmentRole) {
if (index.column() == Column::Balance || index.column() == Column::UnlockedBalance) {
result = Qt::AlignRight;
}
}
});
if (!found) {