Commit afd1b432 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applets/systemtray] Fix icon size for 24px panels

We were using a > when we should have been using a >=, so there was one
panel thickness that would make icons be too large for their panel and
get squeezed together uncomfortably.

BUG: 427690
FIXED-IN: 5.20.1
parent 63f1b860
......@@ -157,7 +157,7 @@ MouseArea {
GridView {
id: tasksGrid
readonly property int smallSizeCellLength: root.cellThickness > root.smallIconSize ? root.smallIconSize + PlasmaCore.Units.smallSpacing * 2
readonly property int smallSizeCellLength: root.cellThickness >= root.smallIconSize ? root.smallIconSize + PlasmaCore.Units.smallSpacing * 2
: root.smallIconSize
readonly property int autoSizeCellLength: root.cellThickness / root.rowsOrColumns
readonly property int totalLength: root.vertical ? cellHeight * Math.round(count / root.rowsOrColumns)
......
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