From fbca54db49dd52d4b60338d8244d7e10bae3ed52 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 10 Oct 2024 12:50:16 +0200 Subject: [PATCH] qml: styling OpenChannelDialog --- electrum/gui/qml/components/OpenChannelDialog.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/electrum/gui/qml/components/OpenChannelDialog.qml b/electrum/gui/qml/components/OpenChannelDialog.qml index 969cbc3e6..dc3a95fe0 100644 --- a/electrum/gui/qml/components/OpenChannelDialog.qml +++ b/electrum/gui/qml/components/OpenChannelDialog.qml @@ -37,11 +37,11 @@ ElDialog { id: rootLayout width: parent.width - columns: 4 + columns: 3 InfoTextArea { Layout.fillWidth: true - Layout.columnSpan: 4 + Layout.columnSpan: 3 visible: !Daemon.currentWallet.lightningHasDeterministicNodeId iconStyle: InfoTextArea.IconStyle.Warn text: Daemon.currentWallet.seedType == 'segwit' @@ -59,7 +59,7 @@ ElDialog { InfoTextArea { Layout.fillWidth: true - Layout.columnSpan: 4 + Layout.columnSpan: 3 visible: Daemon.currentWallet.lightningHasDeterministicNodeId && !Config.useRecoverableChannels iconStyle: InfoTextArea.IconStyle.Warn text: [ qsTr('You currently have recoverable channels setting disabled.'), @@ -69,6 +69,7 @@ ElDialog { Label { text: qsTr('Node') + Layout.columnSpan: 3 color: Material.accentColor } @@ -143,6 +144,7 @@ ElDialog { Label { text: qsTr('Amount') + Layout.columnSpan: 3 color: Material.accentColor } @@ -155,7 +157,6 @@ ElDialog { } RowLayout { - Layout.columnSpan: 2 Layout.fillWidth: true Label { text: Config.baseUnit