From 8c4532c5cb6c0f653e2719a6600c2a92aa3e25d5 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 12 Oct 2023 16:22:51 +0200 Subject: [PATCH] qml: properly show warnings in info box in RbfBumpFeeDialog --- electrum/gui/qml/components/RbfBumpFeeDialog.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qml/components/RbfBumpFeeDialog.qml b/electrum/gui/qml/components/RbfBumpFeeDialog.qml index dc0dedc3d..144fd1c92 100644 --- a/electrum/gui/qml/components/RbfBumpFeeDialog.qml +++ b/electrum/gui/qml/components/RbfBumpFeeDialog.qml @@ -182,9 +182,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: rbffeebumper.warning != '' text: rbffeebumper.warning }