diff options
| author | xiphon <xiphon@protonmail.com> | 2020-12-24 08:05:14 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-12-24 08:20:38 +0000 |
| commit | ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447 (patch) | |
| tree | 0d8c1abb14863f854c5aed5991ae391f2efc53bc /wizard/WizardWalletInput.qml | |
| parent | fed00a5662dcbc77c928a06778d7c9001e7d90f9 (diff) | |
| download | monzero-gui-ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447.tar.gz monzero-gui-ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447.tar.xz monzero-gui-ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447.zip | |
LineEdit: fix padding, fix inline buttons layout, multiple btns support
Diffstat (limited to 'wizard/WizardWalletInput.qml')
| -rw-r--r-- | wizard/WizardWalletInput.qml | 17 |
1 files changed, 10 insertions, 7 deletions
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 { |
