Commit e302ca46 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Reposition own/nextcloud icon

According to VDG feedback
parent 186d8cbd
......@@ -19,26 +19,34 @@ Kirigami.Page {
visible: text.length > 0
}
Kirigami.Icon {
source: "kaccounts-nextcloud"
width: Kirigami.Units.gridUnit * 6
height: width
Column {
anchors {
horizontalCenter: form.horizontalCenter
bottom: form.top
bottomMargin: Kirigami.Units.gridUnit * 3
width: parent.width
height: childrenRect.height
anchors.centerIn: parent
Kirigami.Icon {
source: "kaccounts-nextcloud"
width: Kirigami.Units.gridUnit * 6
height: width
anchors.horizontalCenter: form.horizontalCenter
}
}
Kirigami.FormLayout {
id: form
anchors.centerIn: parent
visible: !busy.running
TextField {
id: serverText
placeholderText: "https://nextcloud.provider.com"
Kirigami.FormData.label: i18n("Server address:")
Item {
width: 1
height: Kirigami.Units.gridUnit
}
Kirigami.FormLayout {
id: form
visible: !busy.running
width: parent.width
TextField {
id: serverText
placeholderText: "https://nextcloud.provider.com"
Kirigami.FormData.label: i18n("Server address:")
}
}
}
......
......@@ -20,37 +20,45 @@ Kirigami.Page {
visible: text.length > 0
}
Kirigami.Icon {
source: "kaccounts-owncloud"
width: Kirigami.Units.gridUnit * 6
height: width
Column {
anchors {
horizontalCenter: form.horizontalCenter
bottom: form.top
}
}
Kirigami.FormLayout {
id: form
width: parent.width
height: childrenRect.height
anchors.centerIn: parent
visible: !busy.running
TextField {
id: nameText
Kirigami.FormData.label: i18n("Username:")
Kirigami.Icon {
source: "kaccounts-owncloud"
width: Kirigami.Units.gridUnit * 6
height: width
anchors.horizontalCenter: form.horizontalCenter
}
TextField {
id: passwordText
Kirigami.FormData.label: i18n("Password:")
echoMode: TextInput.Password
Item {
width: 1
height: Kirigami.Units.gridUnit
}
TextField {
id: serverText
placeholderText: "https://nextcloud.provider.com"
Kirigami.FormData.label: i18n("Server address:")
Kirigami.FormLayout {
id: form
visible: !busy.running
width: parent.width
TextField {
id: nameText
Kirigami.FormData.label: i18n("Username:")
}
TextField {
id: passwordText
Kirigami.FormData.label: i18n("Password:")
echoMode: TextInput.Password
}
TextField {
id: serverText
placeholderText: "https://nextcloud.provider.com"
Kirigami.FormData.label: i18n("Server address:")
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment