qml: ConfirmTxDialog styling slider, avoid running off small screens
This commit is contained in:
@@ -174,8 +174,9 @@ ElDialog {
|
|||||||
|
|
||||||
InfoTextArea {
|
InfoTextArea {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.preferredWidth: parent.width * 3/4
|
Layout.fillWidth: true
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.topMargin: constants.paddingLarge
|
||||||
|
Layout.bottomMargin: constants.paddingLarge
|
||||||
visible: finalizer.warning != ''
|
visible: finalizer.warning != ''
|
||||||
text: finalizer.warning
|
text: finalizer.warning
|
||||||
iconStyle: InfoTextArea.IconStyle.Warn
|
iconStyle: InfoTextArea.IconStyle.Warn
|
||||||
|
|||||||
@@ -327,6 +327,10 @@ Item {
|
|||||||
_confirmPaymentDialog.destroy()
|
_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