qml: fix issue with width of fiat textedit on ReceiveDetailsDialog
This commit is contained in:
@@ -55,33 +55,33 @@ ElDialog {
|
|||||||
BtcField {
|
BtcField {
|
||||||
id: amountBtc
|
id: amountBtc
|
||||||
fiatfield: amountFiat
|
fiatfield: amountFiat
|
||||||
Layout.preferredWidth: parent.width /3
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
Layout.columnSpan: 2
|
||||||
|
Layout.rightMargin: constants.paddingXLarge
|
||||||
text: Config.baseUnit
|
text: Config.baseUnit
|
||||||
color: Material.accentColor
|
color: Material.accentColor
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { width: 1; height: 1; Layout.fillWidth: true }
|
|
||||||
|
|
||||||
Item { visible: Daemon.fx.enabled; width: 1; height: 1 }
|
Item { visible: Daemon.fx.enabled; width: 1; height: 1 }
|
||||||
|
|
||||||
FiatField {
|
FiatField {
|
||||||
id: amountFiat
|
id: amountFiat
|
||||||
|
Layout.fillWidth: true
|
||||||
btcfield: amountBtc
|
btcfield: amountBtc
|
||||||
visible: Daemon.fx.enabled
|
visible: Daemon.fx.enabled
|
||||||
Layout.preferredWidth: parent.width /3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
Layout.columnSpan: 2
|
||||||
|
Layout.rightMargin: constants.paddingXLarge
|
||||||
visible: Daemon.fx.enabled
|
visible: Daemon.fx.enabled
|
||||||
text: Daemon.fx.fiatCurrency
|
text: Daemon.fx.fiatCurrency
|
||||||
color: Material.accentColor
|
color: Material.accentColor
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { visible: Daemon.fx.enabled; width: 1; height: 1; Layout.fillWidth: true }
|
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: qsTr('Expires after')
|
text: qsTr('Expires after')
|
||||||
Layout.fillWidth: false
|
Layout.fillWidth: false
|
||||||
@@ -89,7 +89,7 @@ ElDialog {
|
|||||||
|
|
||||||
RequestExpiryComboBox {
|
RequestExpiryComboBox {
|
||||||
id: expires
|
id: expires
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user