QML UI: make readonly fields more obvious in dive edit

Remove the border and make them look more like labels. This adds a
StyledTextField for that purpose. And while we are at it, we can make that
StyledTextField a little prettier.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-08 07:30:08 -07:00
parent df2e7c052b
commit 829369c18a
5 changed files with 38 additions and 21 deletions

View file

@ -44,7 +44,7 @@ Item {
text: "Email"
}
TextField {
StyledTextField {
id: login
text: manager.cloudUserName
Layout.fillWidth: true
@ -56,7 +56,7 @@ Item {
text: "Password"
}
TextField {
StyledTextField {
id: password
text: manager.cloudPassword
echoMode: TextInput.Password