From b77c6d6ba7ea12195a0f71b8ae1361f020e6614b Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sun, 21 Nov 2021 19:17:14 +0100 Subject: [PATCH] Update Transfer.qml --- pages/Transfer.qml | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/pages/Transfer.qml b/pages/Transfer.qml index dd85b0cd..7ef4d7b2 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -557,25 +557,6 @@ Rectangle { Layout.topMargin: recipientModel.count > 1 ? 0 : -1 spacing: 0 - MoneroComponents.StandardButton { - id: addRecipientButton - small: true - primary: false - text: "+ " + qsTr("Add recipient") + translationManager.emptyString - enabled: { - if (recipientModel.count > 0 && recipientModel.get(0).amount == "(all)") { - return false; - } - if (recipientModel.count >= recipientModel.maxRecipients) { - return false; - } - return true; - } - onClicked: { - recipientModel.newRecipient("", ""); - } - } - MoneroComponents.TextPlain { Layout.fillWidth: true horizontalAlignment: Text.AlignRight @@ -616,6 +597,27 @@ Rectangle { visible: recipientModel.count > 1 } + MoneroComponents.StandardButton { + id: addRecipientButton + Layout.column: 0 + Layout.row: 1 + small: true + primary: false + text: "+ " + qsTr("Add recipient") + translationManager.emptyString + enabled: { + if (recipientModel.count > 0 && recipientModel.get(0).amount == "(all)") { + return false; + } + if (recipientModel.count >= recipientModel.maxRecipients) { + return false; + } + return true; + } + onClicked: { + recipientModel.newRecipient("", ""); + } + } + MoneroComponents.LineEdit { Layout.column: 1 Layout.row: recipientModel.count > 1 ? 1 : 0 @@ -815,6 +817,7 @@ Rectangle { text: FontAwesome.times tooltip: qsTr("Remove description") + translationManager.emptyString tooltipLeft: true + tooltipExitAnimationDuration: 0 visible: descriptionLabel.visible MouseArea {