mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge bitcoin-core/gui#325: Align numbers in the "Peer Id" column to the right
69b8b5d72cqt: Align numbers in the "Peer Id" column to the right (Hennadii Stepanov) Pull request description: On master (6b49d88a5d):  With this PR:  ACKs for top commit: jarolrod: ACK69b8b5d72cjonatack: ACK69b8b5d72chappy to re-ack with more separation or center-aligned kristapsk: ACK69b8b5d72cTree-SHA512: 3279522745a0fe6db1ec9be723a2640a37983947ed1af4aad56f22ce4780cc943a25b2d774529a9eeb3b00309f0204cfbc3f38b7db2c52865d05bf6a7c87e747
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user