From 52aef114fab755d2a58c19252cdc1bcbedd1c122 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Wed, 9 Jun 2021 05:42:43 +0200 Subject: LineEdit: use ColumnLayout instead of Item (also used in LineEditMulti) --- wizard/WizardWalletInput.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wizard/WizardWalletInput.qml') diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index e754a4f1..024f2eb4 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -36,6 +36,7 @@ import "../components" import "../components" as MoneroComponents GridLayout { + id: grid Layout.fillWidth: true property alias walletName: walletName property alias walletLocation: walletLocation @@ -61,7 +62,7 @@ GridLayout { MoneroComponents.LineEdit { id: walletName - Layout.fillWidth: true + Layout.preferredWidth: grid.width/3 function verify(){ if(walletLocation === "" || /[\\\/]/.test(walletName.text)) return false; @@ -82,7 +83,7 @@ GridLayout { MoneroComponents.LineEdit { id: walletLocation - Layout.fillWidth: true + Layout.preferredWidth: grid.width/3 labelText: qsTr("Wallet location") + translationManager.emptyString labelFontSize: 14 -- cgit v1.2.3