diff --git a/electrum/gui/qml/components/OpenWalletDialog.qml b/electrum/gui/qml/components/OpenWalletDialog.qml index 504909a0e..85e8eb71f 100644 --- a/electrum/gui/qml/components/OpenWalletDialog.qml +++ b/electrum/gui/qml/components/OpenWalletDialog.qml @@ -44,6 +44,7 @@ ElDialog { Layout.alignment: Qt.AlignHCenter Layout.preferredWidth: passwordLayout.width Layout.preferredHeight: notice.height + InfoTextArea { id: notice text: qsTr("Wallet requires password to unlock") @@ -56,7 +57,6 @@ ElDialog { RowLayout { id: passwordLayout Layout.alignment: Qt.AlignHCenter - Layout.maximumWidth: parent.width * 2/3 Label { text: qsTr('Password') visible: wallet_db.needsPassword diff --git a/electrum/gui/qml/components/ReceiveDialog.qml b/electrum/gui/qml/components/ReceiveDialog.qml index 280c1d516..0ed7fd7d1 100644 --- a/electrum/gui/qml/components/ReceiveDialog.qml +++ b/electrum/gui/qml/components/ReceiveDialog.qml @@ -76,8 +76,6 @@ ElDialog { Layout.topMargin: constants.paddingSmall Layout.bottomMargin: constants.paddingSmall - // Layout.preferredWidth: qrloader.width - // Layout.preferredHeight: qrloader.height Layout.preferredWidth: dialog.width * 7/8 Layout.preferredHeight: dialog.width * 7/8 @@ -189,7 +187,7 @@ ElDialog { GridLayout { columns: 2 visible: request.message || !request.amount.isEmpty - Layout.maximumWidth: qrloader.width + Layout.maximumWidth: buttons.width Layout.alignment: Qt.AlignHCenter Label { diff --git a/electrum/gui/qml/components/SendDialog.qml b/electrum/gui/qml/components/SendDialog.qml index 04ef2a8e5..ac14c7e2a 100644 --- a/electrum/gui/qml/components/SendDialog.qml +++ b/electrum/gui/qml/components/SendDialog.qml @@ -95,6 +95,7 @@ ElDialog { Label { text: 'Enter a bitcoin address or a Lightning invoice' wrapMode: Text.Wrap + Layout.maximumWidth: parent.width } TextField {