diff --git a/electrum/gui/qml/components/ReceiveDetailsDialog.qml b/electrum/gui/qml/components/ReceiveDetailsDialog.qml index 02499722c..4f9b164f6 100644 --- a/electrum/gui/qml/components/ReceiveDetailsDialog.qml +++ b/electrum/gui/qml/components/ReceiveDetailsDialog.qml @@ -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 } }