From fc52ae95d46bf1c07b303e571feae6d1fb55df61 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 15 Oct 2015 15:26:23 +0200 Subject: [PATCH] start with the screen locked --- containments/homescreen/package/contents/ui/main.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/containments/homescreen/package/contents/ui/main.qml b/containments/homescreen/package/contents/ui/main.qml index 1e3e39ac..00d8869a 100644 --- a/containments/homescreen/package/contents/ui/main.qml +++ b/containments/homescreen/package/contents/ui/main.qml @@ -117,12 +117,20 @@ Item { LayoutManager.layout = appletsSpace.layout; //LayoutManager.lastSpacer = appletsSpace.lastSpacer; LayoutManager.restore(); - applicationsView.contentY = -root.height; + applicationsView.contentY = -applicationsView.headerItem.height*2; plasmoid.nativeInterface.applicationListModel.appOrder = plasmoid.configuration.AppOrder; plasmoid.nativeInterface.applicationListModel.loadApplications(); } + Timer { + interval: 200 + running: true + onTriggered: { + applicationsView.contentY = -applicationsView.headerItem.height; + } + } + Containment.onAppletAdded: { addApplet(applet, x, y); LayoutManager.save();