Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
77b134db
Commit
77b134db
authored
Jan 07, 2021
by
Niccolò Venerandi
Browse files
Make panel 44px instead of 46px
parent
874bdd0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js
View file @
77b134db
...
...
@@ -25,9 +25,9 @@ if (freeEdges["bottom"] == true) {
panel
.
location
=
"
top
"
;
}
// For an Icons-Only Task Manager on the bottom, *3 is too much, *2 is too little
// Round
up
to next highest even number since the Panel size widget only displays
// Round
down
to next highest even number since the Panel size widget only displays
// even numbers
panel
.
height
=
2
*
Math
.
ceil
(
gridUnit
*
2.5
/
2
)
panel
.
height
=
2
*
Math
.
floor
(
gridUnit
*
2.5
/
2
)
// Restrict horizontal panel to a maximum size of a 21:9 monitor
const
maximumAspectRatio
=
21
/
9
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment