|
|
|
@ -45,7 +45,7 @@ ElDialog { |
|
|
|
Layout.columnSpan: 4 |
|
|
|
Layout.columnSpan: 4 |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
|
|
|
|
|
|
visible: Daemon.currentWallet.lightningCanReceive |
|
|
|
visible: !Daemon.currentWallet.lightningCanReceive.isEmpty |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
width: parent.width |
|
|
|
width: parent.width |
|
|
|
@ -55,6 +55,8 @@ ElDialog { |
|
|
|
font.pixelSize: constants.fontSizeSmall |
|
|
|
font.pixelSize: constants.fontSizeSmall |
|
|
|
color: Material.accentColor |
|
|
|
color: Material.accentColor |
|
|
|
wrapMode: Text.Wrap |
|
|
|
wrapMode: Text.Wrap |
|
|
|
|
|
|
|
// try to fill/wrap in remaining space |
|
|
|
|
|
|
|
Layout.preferredWidth: Math.min(implicitWidth, parent.width - 2*parent.spacing - constants.iconSizeSmall - lnMaxAmount.implicitWidth) |
|
|
|
} |
|
|
|
} |
|
|
|
Image { |
|
|
|
Image { |
|
|
|
Layout.preferredWidth: constants.iconSizeSmall |
|
|
|
Layout.preferredWidth: constants.iconSizeSmall |
|
|
|
@ -62,6 +64,7 @@ ElDialog { |
|
|
|
source: '../../icons/lightning.png' |
|
|
|
source: '../../icons/lightning.png' |
|
|
|
} |
|
|
|
} |
|
|
|
FormattedAmount { |
|
|
|
FormattedAmount { |
|
|
|
|
|
|
|
id: lnMaxAmount |
|
|
|
amount: Daemon.currentWallet.lightningCanReceive |
|
|
|
amount: Daemon.currentWallet.lightningCanReceive |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|