If we are on horizontal form factor set smaller panel height

This commit is contained in:
Bhushan Shah 2015-08-21 18:54:22 +05:30
parent b6bbc208aa
commit 3e2dc7f8fa

View file

@ -24,9 +24,9 @@ panel.height = 60;
var bottomPanel = new Panel("org.kde.phone.taskpanel");
bottomPanel.location = "bottom";
if (screenGeometry(bottomPanel.screen).height > screenGeometry(bottomPanel.screen.width))
bottomPanel.height = 150;
else
bottomPanel.height = 60;