diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-12-28 11:41:47 -0800 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-12-28 11:41:47 -0800 |
| commit | 0194cf8f2246c4a261904d725f90b9a1b4e12800 (patch) | |
| tree | 249f1bccecb2e6e76d3f8a55f548431747898bf9 /wizard | |
| parent | ad06fcc79e60e4a1d731288391abe7b8a05ca93d (diff) | |
| parent | ba4d6993b78a3a0e7c0d0b0f09ab071b1bb5e447 (diff) | |
| download | monzero-gui-0194cf8f2246c4a261904d725f90b9a1b4e12800.tar.gz monzero-gui-0194cf8f2246c4a261904d725f90b9a1b4e12800.tar.xz monzero-gui-0194cf8f2246c4a261904d725f90b9a1b4e12800.zip | |
Merge pull request #3280
ba4d6993 LineEdit: fix padding, fix inline buttons layout, multiple btns support (xiphon)
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardDaemonSettings.qml | 17 | ||||
| -rw-r--r-- | wizard/WizardWalletInput.qml | 17 |
2 files changed, 20 insertions, 14 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml index 7155db10..3f1f2204 100644 --- a/wizard/WizardDaemonSettings.qml +++ b/wizard/WizardDaemonSettings.qml @@ -81,13 +81,16 @@ ColumnLayout { placeholderText: qsTr("Default") + translationManager.emptyString placeholderFontSize: 15 text: persistentSettings.blockchainDataDir - inlineButton.small: true - inlineButtonText: qsTr("Browse") + translationManager.emptyString - inlineButton.onClicked: { - if(persistentSettings.blockchainDataDir != ""); - blockchainFileDialog.folder = "file://" + persistentSettings.blockchainDataDir; - blockchainFileDialog.open(); - blockchainFolder.focus = true; + + MoneroComponents.InlineButton { + small: true + text: qsTr("Browse") + translationManager.emptyString + onClicked: { + if(persistentSettings.blockchainDataDir != ""); + blockchainFileDialog.folder = "file://" + persistentSettings.blockchainDataDir; + blockchainFileDialog.open(); + blockchainFolder.focus = true; + } } } 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 { |
