RemoteNodeList: truncate long addresses

This commit is contained in:
rating89us 2021-07-19 11:29:53 +02:00 committed by rating89us
parent b6682330a6
commit 284caf83f6

View file

@ -84,6 +84,7 @@ ColumnLayout {
MoneroComponents.TextPlain {
id: addressText
width: parent.width - trustedDaemonCheckMark.width
color: index === remoteNodesModel.selected ? MoneroComponents.Style.defaultFontColor : MoneroComponents.Style.dimmedFontColor
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
@ -91,6 +92,7 @@ ColumnLayout {
font.pixelSize: 16
text: address
themeTransition: false
elide: Text.ElideMiddle
}
MoneroComponents.Label {