1
0

qml: styling OpenChannelDialog

This commit is contained in:
Sander van Grieken
2024-10-10 12:50:16 +02:00
parent acc839623f
commit fbca54db49

View File

@@ -37,11 +37,11 @@ ElDialog {
id: rootLayout id: rootLayout
width: parent.width width: parent.width
columns: 4 columns: 3
InfoTextArea { InfoTextArea {
Layout.fillWidth: true Layout.fillWidth: true
Layout.columnSpan: 4 Layout.columnSpan: 3
visible: !Daemon.currentWallet.lightningHasDeterministicNodeId visible: !Daemon.currentWallet.lightningHasDeterministicNodeId
iconStyle: InfoTextArea.IconStyle.Warn iconStyle: InfoTextArea.IconStyle.Warn
text: Daemon.currentWallet.seedType == 'segwit' text: Daemon.currentWallet.seedType == 'segwit'
@@ -59,7 +59,7 @@ ElDialog {
InfoTextArea { InfoTextArea {
Layout.fillWidth: true Layout.fillWidth: true
Layout.columnSpan: 4 Layout.columnSpan: 3
visible: Daemon.currentWallet.lightningHasDeterministicNodeId && !Config.useRecoverableChannels visible: Daemon.currentWallet.lightningHasDeterministicNodeId && !Config.useRecoverableChannels
iconStyle: InfoTextArea.IconStyle.Warn iconStyle: InfoTextArea.IconStyle.Warn
text: [ qsTr('You currently have recoverable channels setting disabled.'), text: [ qsTr('You currently have recoverable channels setting disabled.'),
@@ -69,6 +69,7 @@ ElDialog {
Label { Label {
text: qsTr('Node') text: qsTr('Node')
Layout.columnSpan: 3
color: Material.accentColor color: Material.accentColor
} }
@@ -143,6 +144,7 @@ ElDialog {
Label { Label {
text: qsTr('Amount') text: qsTr('Amount')
Layout.columnSpan: 3
color: Material.accentColor color: Material.accentColor
} }
@@ -155,7 +157,6 @@ ElDialog {
} }
RowLayout { RowLayout {
Layout.columnSpan: 2
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
text: Config.baseUnit text: Config.baseUnit