1
0

qml: fix issue with width of fiat textedit on ReceiveDetailsDialog

This commit is contained in:
Sander van Grieken
2023-11-07 17:05:13 +01:00
parent 1544a71542
commit 8798a45d70

View File

@@ -55,33 +55,33 @@ ElDialog {
BtcField {
id: amountBtc
fiatfield: amountFiat
Layout.preferredWidth: parent.width /3
Layout.fillWidth: true
}
Label {
Layout.columnSpan: 2
Layout.rightMargin: constants.paddingXLarge
text: Config.baseUnit
color: Material.accentColor
}
Item { width: 1; height: 1; Layout.fillWidth: true }
Item { visible: Daemon.fx.enabled; width: 1; height: 1 }
FiatField {
id: amountFiat
Layout.fillWidth: true
btcfield: amountBtc
visible: Daemon.fx.enabled
Layout.preferredWidth: parent.width /3
}
Label {
Layout.columnSpan: 2
Layout.rightMargin: constants.paddingXLarge
visible: Daemon.fx.enabled
text: Daemon.fx.fiatCurrency
color: Material.accentColor
}
Item { visible: Daemon.fx.enabled; width: 1; height: 1; Layout.fillWidth: true }
Label {
text: qsTr('Expires after')
Layout.fillWidth: false
@@ -89,7 +89,7 @@ ElDialog {
RequestExpiryComboBox {
id: expires
Layout.columnSpan: 2
Layout.columnSpan: 3
}
}