diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-05 06:27:06 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-05 06:27:06 -0800 |
commit | 703c3de880d16949981fc5d35e9328c3ef80a62d (patch) | |
tree | 785be406fbb3a1ef85c3871c6958cca7de7980d7 /qt-mobile/qml | |
parent | 091d099368039b5445e6c40e5dc6348e4a9cc9d1 (diff) | |
download | subsurface-703c3de880d16949981fc5d35e9328c3ef80a62d.tar.gz |
QML-UI: mark email entry field as such
I hoped that this would show the "email keyboard" on Android that includes the
'@' sign without having to switch layers but that didn't seem to work. I'll
leave this here, anyway, as it seems like the right thing to do since this
input field is indeed for an email address.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index fafa26091..aa85f1fa5 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -42,6 +42,7 @@ Item { id: password text: manager.cloudPassword echoMode: TextInput.Password + inputMethodHints: Qt.ImhEmailCharactersOnly Layout.fillWidth: true } GridLayout { |