Better compact mode

This commit is contained in:
LemmyCook 2025-09-16 09:06:40 -04:00
parent 0da59954cd
commit 071100459f
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ Singleton {
} }
property real capsuleHeight: { property real capsuleHeight: {
if (Settings.data.bar.density === "compact") { if (Settings.data.bar.density === "compact") {
return barHeight * 0.95 return barHeight * 0.85
} }
if (Settings.data.bar.density === "default") { if (Settings.data.bar.density === "default") {
return barHeight * 0.82 return barHeight * 0.82

View file

@ -86,7 +86,7 @@ Item {
} }
total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills
total += horizontalPadding * 2 total += horizontalPadding * 2
return total return Math.round(total)
} }
function computeHeight() { function computeHeight() {
@ -97,7 +97,7 @@ Item {
} }
total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills
total += horizontalPadding * 2 total += horizontalPadding * 2
return total return Math.round(total)
} }
Component.onCompleted: { Component.onCompleted: {