qt: Align numbers in the "Peer Id" column to the right

This commit is contained in:
Hennadii Stepanov
2021-05-12 21:39:48 +03:00
parent 6b49d88a5d
commit 69b8b5d72c
2 changed files with 20 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ QVariant PeerTableModel::data(const QModelIndex &index, int role) const
} else if (role == Qt::TextAlignmentRole) {
switch (column) {
case NetNodeId:
return QVariant(Qt::AlignRight | Qt::AlignVCenter);
case Address:
return {};
case ConnectionType: