aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardWalletInput.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-06-09 05:42:43 +0200
committerrating89us <rating89us@rating89us.com>2021-06-11 17:13:52 +0200
commit52aef114fab755d2a58c19252cdc1bcbedd1c122 (patch)
tree78c30b3caf180a68652b0cf914ec722104a26625 /wizard/WizardWalletInput.qml
parent7c379e2cdaafc0cd618dbaab466625aa76c918bf (diff)
downloadmonzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.gz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.xz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.zip
LineEdit: use ColumnLayout instead of Item (also used in LineEditMulti)
Diffstat (limited to 'wizard/WizardWalletInput.qml')
-rw-r--r--wizard/WizardWalletInput.qml5
1 files changed, 3 insertions, 2 deletions
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