From 7f79b373eaeb55b1aef22f02cfd88d34f5d48a4a Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 13 Sep 2021 17:08:18 +0200 Subject: [PATCH] Make sure panels are positioned in the right place on the first run Addresses a problem where the bottom panel would be on top on first runs sometimes. --- shell/contents/layout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/contents/layout.js b/shell/contents/layout.js index da81e74d..e349af70 100644 --- a/shell/contents/layout.js +++ b/shell/contents/layout.js @@ -5,8 +5,10 @@ for (var j = 0; j < desktopsArray.length; j++) { desktopsArray[0].addWidget("org.kde.phone.krunner", 0, 0, screenGeometry(0).width, 20) // keep this list in sync with shell/contents/updates/panelsfix.js var panel = new Panel("org.kde.phone.panel"); +panel.location = "top"; panel.addWidget("org.kde.plasma.notifications"); panel.addWidget("org.kde.plasma.mediacontroller"); panel.height = 1 * gridUnit; var bottomPanel = new Panel("org.kde.phone.taskpanel") +bottomPanel.location = "bottom";