fix(@desktop/wallet): SendModal broken when token symbol is very long
fixes #12336
This commit is contained in:
parent
8252baf846
commit
e5166c11d3
|
@ -259,6 +259,7 @@ StatusDialog {
|
|||
}
|
||||
|
||||
StatusListItemTag {
|
||||
Layout.maximumWidth: 150
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
|
||||
Layout.preferredHeight: 22
|
||||
visible: d.isSelectedHoldingValidAsset || d.isHoveredHoldingValidAsset && !d.isERC721Transfer
|
||||
|
|
|
@ -40,6 +40,8 @@ StatusListItem {
|
|||
title: name
|
||||
titleAsideText: symbol
|
||||
statusListItemTitleAside.font.pixelSize: 15
|
||||
statusListItemTitleAside.width: statusListItemTitleArea.width - statusListItemTitle.width
|
||||
statusListItemTitleAside.elide: Text.ElideRight
|
||||
label: LocaleUtils.currencyAmountToLocaleString(totalCurrencyBalance)
|
||||
asset.name: symbol ? Style.png("tokens/" + symbol) : ""
|
||||
asset.isImage: true
|
||||
|
|
|
@ -79,6 +79,8 @@ Item {
|
|||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
width: Math.min(implicitWidth, parent.width)
|
||||
|
||||
control.padding: 4
|
||||
control.popup.width: 492
|
||||
control.popup.x: -root.x
|
||||
|
@ -112,6 +114,7 @@ Item {
|
|||
}
|
||||
}
|
||||
StatusBaseText {
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
font.pixelSize: root.contentTextSize
|
||||
elide: Text.ElideRight
|
||||
|
|
|
@ -157,7 +157,8 @@ Item {
|
|||
|
||||
HoldingItemSelector {
|
||||
id: holdingItemSelector
|
||||
anchors.fill: parent
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
|
||||
defaultIconSource: Style.png("tokens/DEFAULT-TOKEN@3x")
|
||||
placeholderText: d.isCurrentBrowsingTypeAsset ? qsTr("Select token") : qsTr("Select collectible")
|
||||
|
|
Loading…
Reference in New Issue