Commit 3e2dc7f8 authored by Bhushan Shah's avatar Bhushan Shah 📱

If we are on horizontal form factor set smaller panel height

parent b6bbc208
......@@ -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;
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