From ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447 Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 24 Dec 2020 08:05:14 +0000 Subject: LineEdit: fix padding, fix inline buttons layout, multiple btns support --- wizard/WizardWalletInput.qml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'wizard/WizardWalletInput.qml') diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 5b2f3b69..e754a4f1 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -89,16 +89,19 @@ GridLayout { placeholderText: "..." placeholderFontSize: 16 text: appWindow.accountsDir + "/" - inlineButton.small: true - inlineButtonText: qsTr("Browse") + translationManager.emptyString - inlineButton.onClicked: { - fileWalletDialog.folder = walletManager.localPathToUrl(walletLocation.text) - fileWalletDialog.open() - walletLocation.focus = true - } onTextChanged: { walletLocation.error = walletLocation.text === ""; } + + MoneroComponents.InlineButton { + small: true + text: qsTr("Browse") + translationManager.emptyString + onClicked: { + fileWalletDialog.folder = walletManager.localPathToUrl(walletLocation.text) + fileWalletDialog.open() + walletLocation.focus = true + } + } } FileDialog { -- cgit v1.2.3