mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
If we are on horizontal form factor set smaller panel height
This commit is contained in:
parent
b6bbc208aa
commit
3e2dc7f8fa
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue