Commit 933a343c authored by Nate Graham's avatar Nate Graham
Browse files

[applets/systemtray] Restore old spacing for very small icons on thin panels

parent dc70225a
...@@ -147,8 +147,8 @@ MouseArea { ...@@ -147,8 +147,8 @@ MouseArea {
GridView { GridView {
id: tasksGrid id: tasksGrid
readonly property int smallSizeCellLength: root.cellThickness > root.smallIconSize ? root.smallIconSize + units.smallSpacing * 2
readonly property int smallSizeCellLength: root.smallIconSize + units.smallSpacing * 2 : root.smallIconSize
readonly property int autoSizeCellLength: root.cellThickness / root.rowsOrColumns readonly property int autoSizeCellLength: root.cellThickness / root.rowsOrColumns
readonly property int totalLength: root.vertical ? cellHeight * Math.round(count / root.rowsOrColumns) readonly property int totalLength: root.vertical ? cellHeight * Math.round(count / root.rowsOrColumns)
: cellWidth * Math.round(count / root.rowsOrColumns) : cellWidth * 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