aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-12 21:39:48 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-12 22:05:25 +0300
commit69b8b5d72c47d42a9e69e6666af89606057be15b (patch)
tree685facdae1490c11ab468ae10d43c3179b837ef5 /src/qt/peertablemodel.cpp
parent6b49d88a5dda97fdbabe363fd7d3c4f1ce29082a (diff)
downloadbitcoin-69b8b5d72c47d42a9e69e6666af89606057be15b.tar.xz
qt: Align numbers in the "Peer Id" column to the right
Diffstat (limited to 'src/qt/peertablemodel.cpp')
-rw-r--r--src/qt/peertablemodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp
index 6c4e326011..b33032f460 100644
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -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: