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
1 changed files with 3 additions and 3 deletions

View File

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