From 4908c8c38963258a606fde1f671633a22ba8f33f Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 22 Dec 2023 17:35:25 +0100 Subject: [PATCH] qml: RbfCancelDialog: warning text in frame --- electrum/gui/qml/components/RbfCancelDialog.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qml/components/RbfCancelDialog.qml b/electrum/gui/qml/components/RbfCancelDialog.qml index 9f4076baf..5b009114b 100644 --- a/electrum/gui/qml/components/RbfCancelDialog.qml +++ b/electrum/gui/qml/components/RbfCancelDialog.qml @@ -141,9 +141,12 @@ ElDialog { } } - Label { + InfoTextArea { Layout.columnSpan: 2 - Layout.fillWidth: true + Layout.preferredWidth: parent.width * 3/4 + Layout.alignment: Qt.AlignHCenter + Layout.topMargin: constants.paddingLarge + iconStyle: InfoTextArea.IconStyle.Warn visible: txcanceller.warning != '' text: txcanceller.warning }