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