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
+1 -1
View File
@@ -88,7 +88,7 @@ Singleton {
}
property real capsuleHeight: {
if (Settings.data.bar.density === "compact") {
return barHeight * 0.95
return barHeight * 0.85
}
if (Settings.data.bar.density === "default") {
return barHeight * 0.82
+2 -2
View File
@@ -86,7 +86,7 @@ Item {
}
total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills
total += horizontalPadding * 2
return total
return Math.round(total)
}
function computeHeight() {
@@ -97,7 +97,7 @@ Item {
}
total += Math.max(localWorkspaces.count - 1, 0) * spacingBetweenPills
total += horizontalPadding * 2
return total
return Math.round(total)
}
Component.onCompleted: {