Use AutoTextField.

Fix #81.
This commit is contained in:
Black Hat
2018-10-16 08:16:54 +08:00
parent bead3ed36b
commit a8b159b98a
15 changed files with 67 additions and 43 deletions

View File

@@ -83,11 +83,10 @@ Column {
Label {
text: "Homeserver:"
}
TextField {
AutoTextField {
Layout.fillWidth: true
text: connection.homeserver
selectByMouse: true
readOnly: true
}
}
@@ -100,11 +99,10 @@ Column {
Label {
text: "Device ID:"
}
TextField {
AutoTextField {
Layout.fillWidth: true
text: connection.deviceId
selectByMouse: true
readOnly: true
}
}
@@ -117,11 +115,10 @@ Column {
Label {
text: "Access Token:"
}
TextField {
AutoTextField {
Layout.fillWidth: true
text: connection.accessToken
selectByMouse: true
readOnly: true
}
}