1
0

qml: ConfirmTxDialog styling slider, avoid running off small screens

This commit is contained in:
Sander van Grieken
2023-02-10 13:28:27 +01:00
parent 1bfc4f1529
commit 8ccc4801f7
2 changed files with 7 additions and 2 deletions

View File

@@ -174,8 +174,9 @@ ElDialog {
InfoTextArea {
Layout.columnSpan: 2
Layout.preferredWidth: parent.width * 3/4
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true
Layout.topMargin: constants.paddingLarge
Layout.bottomMargin: constants.paddingLarge
visible: finalizer.warning != ''
text: finalizer.warning
iconStyle: InfoTextArea.IconStyle.Warn

View File

@@ -327,6 +327,10 @@ Item {
_confirmPaymentDialog.destroy()
}
}
// TODO: lingering confirmPaymentDialogs can raise exceptions in
// the child finalizer when currentWallet disappears, but we need
// it long enough for the finalizer to finish..
// onClosed: destroy()
}
}