diff options
| author | Jacob Brydolf <jacob@rabash.se> | 2016-10-01 03:05:26 +0200 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-10-10 00:15:17 +0300 |
| commit | bd8646dd194771a9ff39bc75530d169a6d570ef6 (patch) | |
| tree | b3caebdc079ec909f6962d680e9c38ba292781b7 /wizard/WizardPassword.qml | |
| parent | fab66fec38a37c35bac90836a462404b5e4b464c (diff) | |
| download | monzero-gui-bd8646dd194771a9ff39bc75530d169a6d570ef6.tar.gz monzero-gui-bd8646dd194771a9ff39bc75530d169a6d570ef6.tar.xz monzero-gui-bd8646dd194771a9ff39bc75530d169a6d570ef6.zip | |
UX improvements in wizard
- password page styling
- tab navigation / focus on load
- click language loads next page
Diffstat (limited to 'wizard/WizardPassword.qml')
| -rw-r--r-- | wizard/WizardPassword.qml | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/wizard/WizardPassword.qml b/wizard/WizardPassword.qml index 8318a785..476c5742 100644 --- a/wizard/WizardPassword.qml +++ b/wizard/WizardPassword.qml @@ -52,6 +52,8 @@ Item { } else { passwordPage.titleText = qsTr("Now that your wallet has been restored, please set a password for the wallet") + translationManager.emptyString } + + passwordItem.focus = true; } function onPageClosed(settingsObject) { @@ -146,30 +148,34 @@ Item { anchors.topMargin: 24 width: 300 height: 62 + placeholderText : qsTr("Password") + translationManager.emptyString; + KeyNavigation.tab: retypePasswordItem onChanged: handlePassword() - } - - PrivacyLevelSmall { - id: privacyLevel - anchors.left: parent.left - anchors.right: parent.right - anchors.top: passwordItem.bottom - anchors.topMargin: 24 - background: "#F0EEEE" - interactive: false } WizardPasswordInput { id: retypePasswordItem - anchors.top: privacyLevel.bottom + anchors.top: passwordItem.bottom anchors.horizontalCenter: parent.horizontalCenter anchors.topMargin: 24 width: 300 height: 62 + placeholderText : qsTr("Confirm password") + translationManager.emptyString; + KeyNavigation.tab: passwordItem onChanged: handlePassword() } + PrivacyLevelSmall { + id: privacyLevel + anchors.left: parent.left + anchors.right: parent.right + anchors.top: retypePasswordItem.bottom + anchors.topMargin: 60 + background: "#F0EEEE" + interactive: false + } + Component.onCompleted: { console.log } |
