From eaebcaf383883f4892dbf3d002ce0fc822d15ce9 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 17 Sep 2024 13:21:46 +0200 Subject: [PATCH] qml: styling HelpDialog --- electrum/gui/qml/components/controls/HelpDialog.qml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/controls/HelpDialog.qml b/electrum/gui/qml/components/controls/HelpDialog.qml index d5aa4be10..f11a0d138 100644 --- a/electrum/gui/qml/components/controls/HelpDialog.qml +++ b/electrum/gui/qml/components/controls/HelpDialog.qml @@ -30,9 +30,11 @@ ElDialog { ColumnLayout { id: rootLayout - width: dialog.parent.width * 2/3 + width: dialog.parent.width * 3/4 + spacing: constants.paddingLarge RowLayout { + Layout.fillWidth: true Image { source: Qt.resolvedUrl('../../../icons/info.png') Layout.preferredWidth: constants.iconSizeSmall @@ -40,15 +42,16 @@ ElDialog { } Label { text: dialog.heading + font.pixelSize: constants.fontSizeMedium font.underline: true font.italic: true } } - TextArea { + Label { id: message Layout.fillWidth: true - readOnly: true text: dialog.text + font.pixelSize: constants.fontSizeSmall wrapMode: TextInput.WordWrap textFormat: TextEdit.RichText background: Rectangle {