aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-07-19 11:29:53 +0200
committerrating89us <rating89us@rating89us.com>2021-07-21 01:34:02 +0200
commit284caf83f6b8f33600cd77113aac28e52c041eb0 (patch)
treea657229ee4348cde583de50287a507387e2522bc /components
parentb6682330a6f87051c523c05b9b653eb494760003 (diff)
downloadmonzero-gui-284caf83f6b8f33600cd77113aac28e52c041eb0.tar.gz
monzero-gui-284caf83f6b8f33600cd77113aac28e52c041eb0.tar.xz
monzero-gui-284caf83f6b8f33600cd77113aac28e52c041eb0.zip
RemoteNodeList: truncate long addresses
Diffstat (limited to 'components')
-rw-r--r--components/RemoteNodeList.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/RemoteNodeList.qml b/components/RemoteNodeList.qml
index ffbce57d..5d3b14fa 100644
--- a/components/RemoteNodeList.qml
+++ b/components/RemoteNodeList.qml
@@ -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 {