diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-28 13:18:51 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-28 13:18:51 +0700 |
commit | 6a0ec79709600c8037261165a4539ef9fe928b56 (patch) | |
tree | b80aacf94c0237547ffdd740651a5c104b6fe6e5 | |
parent | 0fc64535889c4e94ba785a8025956243598b854e (diff) |
add echoMode on passTextField
-rw-r--r-- | pages/PasswordForm.ui.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index da39af9..ac753ee 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -61,7 +61,7 @@ Rectangle { } TextField { - id: emailTextField + id: passTextField y: 501 font.pointSize: 16 anchors.bottom: loginButton.top @@ -74,9 +74,10 @@ Rectangle { anchors.left: parent.left anchors.leftMargin: 16 Layout.maximumHeight: 56 + echoMode: TextInput.Password background: Rectangle { - color: emailTextField.enabled ? "#f4f4f4" : "#353637" + color: passTextField.enabled ? "#f4f4f4" : "#353637" anchors.verticalCenter: parent.verticalCenter implicitHeight: 56 radius: 6 |