diff --git a/shell/contents/layout.js b/shell/contents/layout.js index 11da6471..04d03cf7 100644 --- a/shell/contents/layout.js +++ b/shell/contents/layout.js @@ -24,9 +24,9 @@ panel.height = 60; var bottomPanel = new Panel("org.kde.phone.taskpanel"); bottomPanel.location = "bottom"; -bottomPanel.height = 150; - - - +if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen.width)) + bottomPanel.height = 150; +else + bottomPanel.height = 60;