qml: ConfirmTxDialog styling slider, avoid running off small screens
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user