From 0d37ac676f18d3632ed061ea1c7011b104b7d513 Mon Sep 17 00:00:00 2001 From: plowsof Date: Thu, 25 Jun 2026 01:10:09 +0200 Subject: Fix "Quick Layouts recursive rearrange" spam on startup --- components/RemoteNodeEdit.qml | 6 ++++-- wizard/WizardWalletInput.qml | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/RemoteNodeEdit.qml b/components/RemoteNodeEdit.qml index 7d68cd2c..e6ce47f2 100644 --- a/components/RemoteNodeEdit.qml +++ b/components/RemoteNodeEdit.qml @@ -84,7 +84,8 @@ GridLayout { MoneroComponents.LineEdit { id: daemonAddr - Layout.preferredWidth: root.width/3 + Layout.fillWidth: true + Layout.minimumWidth: 220 placeholderText: qsTr("Remote Node Hostname / IP") + translationManager.emptyString placeholderFontFamily: root.placeholderFontFamily placeholderFontBold: root.placeholderFontBold @@ -106,7 +107,8 @@ GridLayout { MoneroComponents.LineEdit { id: daemonPort - Layout.preferredWidth: root.width/3 + Layout.fillWidth: true + Layout.minimumWidth: 120 placeholderText: qsTr("Port") + translationManager.emptyString placeholderFontFamily: root.placeholderFontFamily placeholderFontBold: root.placeholderFontBold diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 882145ab..da7a4aaa 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -71,7 +71,7 @@ GridLayout { ColumnLayout { MoneroComponents.LineEdit { id: walletName - Layout.preferredWidth: grid.width/5 + Layout.fillWidth: true function verify(){ if (walletName.text === "") { @@ -113,7 +113,7 @@ GridLayout { } RowLayout { - Layout.preferredWidth: grid.width/5 + Layout.fillWidth: true MoneroComponents.TextPlain { visible: errorMessageWalletName.text != "" @@ -147,7 +147,7 @@ GridLayout { MoneroComponents.LineEdit { id: walletLocation - Layout.preferredWidth: grid.width/3 + Layout.fillWidth: true function verify() { if (walletLocation.text == "") { @@ -200,7 +200,7 @@ GridLayout { } RowLayout { - Layout.preferredWidth: grid.width/3 + Layout.fillWidth: true MoneroComponents.TextPlain { visible: errorMessageWalletLocation.text != "" -- cgit v1.2.3