Merge pull request #3630

284caf8 RemoteNodeList: truncate long addresses (rating89us)
This commit is contained in:
luigi1111 2021-07-26 15:35:13 -04:00
commit 3f4cedea54
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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