SettingsPage: TextField con anchor invece di width binding (elimina il binding loop Silica)
This commit is contained in:
@@ -22,7 +22,8 @@ Page {
|
||||
|
||||
TextField {
|
||||
id: serverField
|
||||
width: parent.width
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
label: "Indirizzo Calibre Web"
|
||||
placeholderText: "https://calibre.example.com"
|
||||
text: appSettings.serverUrl
|
||||
@@ -32,7 +33,8 @@ Page {
|
||||
|
||||
TextField {
|
||||
id: userField
|
||||
width: parent.width
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
label: "Utente (vuoto = accesso anonimo)"
|
||||
text: appSettings.username
|
||||
onTextChanged: appSettings.username = text
|
||||
@@ -40,7 +42,8 @@ Page {
|
||||
|
||||
TextField {
|
||||
id: passField
|
||||
width: parent.width
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
label: "Password"
|
||||
text: appSettings.password
|
||||
echoMode: TextInput.Password
|
||||
|
||||
Reference in New Issue
Block a user