@@ -1,5 +1,6 @@
2 * Copyright (C) 2015-2016 Canonical, Ltd.
2 * Copyright (C) 2015-2016 Canonical, Ltd.
3+ * Copyright (C) 2021 UBports Foundation
4 * This program is free software; you can redistribute it and/or modify
5 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * it under the terms of the GNU General Public License as published by
@@ -27,7 +28,7 @@ FocusScope {
27 property alias launcherOffset: coverPage.launcherOffset
28 property alias launcherOffset: coverPage.launcherOffset
28 property alias currentIndex: loginList.currentIndex
29 property alias currentIndex: loginList.currentIndex
29 property alias delayMinutes: delayedLockscreen.delayMinutes
30 property alias delayMinutes: delayedLockscreen.delayMinutes
30− property alias backgroundTopMargin: coverPage.backgroundTopMargin
31+ property real panelHeight
31 property url background
32 property url background
32 property bool hasCustomBackground
33 property bool hasCustomBackground
33 property bool locked
34 property bool locked
@@ -110,7 +111,6 @@ FocusScope {
110 objectName: "lockscreenBackground"
111 objectName: "lockscreenBackground"
111 anchors {
112 anchors {
112 fill: parent
113 fill: parent
113− topMargin: root.backgroundTopMargin
115 source: root.background
115 source: root.background
@@ -171,6 +171,7 @@ FocusScope {
171 width: parent.width
171 width: parent.width
172 background: root.background
172 background: root.background
173 hasCustomBackground: root.hasCustomBackground
173 hasCustomBackground: root.hasCustomBackground
174+ panelHeight: root.panelHeight
174 draggable: !root.waiting
175 draggable: !root.waiting
175 onTease: root.tease()
176 onTease: root.tease()
176 onClicked: hide()
177 onClicked: hide()
@@ -188,7 +189,7 @@ FocusScope {
189 anchors {
190 anchors {
190 top: parent.top
191 top: parent.top
191− topMargin: units.gu(2)
192+ topMargin: units.gu(2) + panelHeight
192 horizontalCenter: parent.horizontalCenter
193 horizontalCenter: parent.horizontalCenter