From cb4c99dc1971efa8940f7adefc7f292eb5778ba3 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Sat, 18 Mar 2023 11:25:57 +0100 Subject: [PATCH] qml: styling CloseChannelDialog error text --- electrum/gui/qml/components/CloseChannelDialog.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/CloseChannelDialog.qml b/electrum/gui/qml/components/CloseChannelDialog.qml index 176277486..129bb44b3 100644 --- a/electrum/gui/qml/components/CloseChannelDialog.qml +++ b/electrum/gui/qml/components/CloseChannelDialog.qml @@ -141,12 +141,12 @@ ElDialog { Layout.columnSpan: 2 Layout.maximumWidth: parent.width - Label { + InfoTextArea { id: errorText Layout.alignment: Qt.AlignHCenter Layout.maximumWidth: parent.width - visible: !_closing && errorText - wrapMode: Text.Wrap + visible: !_closing && errorText.text + iconStyle: InfoTextArea.IconStyle.Error } Label { Layout.alignment: Qt.AlignHCenter