fix(@desktop/wallet): correct position of not enough gas error

fixes #2714

Increase height of the modal and position the validator to below the previous
item
This commit is contained in:
Anthony Laibe 2021-07-28 14:53:48 +02:00 committed by Iuri Matias
parent c8e3fd8735
commit 08e3b330e5

View File

@ -15,7 +15,7 @@ ModalPopup {
//% "Send" //% "Send"
title: qsTrId("command-button-send") title: qsTrId("command-button-send")
height: 504 height: 540
property MessageDialog sendingError: MessageDialog { property MessageDialog sendingError: MessageDialog {
id: sendingError id: sendingError
@ -156,8 +156,8 @@ ModalPopup {
} }
GasValidator { GasValidator {
id: gasValidator id: gasValidator
anchors.bottom: parent.bottom anchors.top: gasSelector.bottom
anchors.bottomMargin: 8 anchors.topMargin: 8
selectedAccount: selectFromAccount.selectedAccount selectedAccount: selectFromAccount.selectedAccount
selectedAmount: parseFloat(txtAmount.selectedAmount) selectedAmount: parseFloat(txtAmount.selectedAmount)
selectedAsset: txtAmount.selectedAsset selectedAsset: txtAmount.selectedAsset