From 6867f16b78eef43f4a9729195dd3c4f81192cc9a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 17 Jul 2026 16:08:33 -0700 Subject: [PATCH] Restore compact bar indicator sizing --- shell/Ui/BarIndicator.qml | 1 + test/shell.d/bar-icon-geometry-test.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/shell/Ui/BarIndicator.qml b/shell/Ui/BarIndicator.qml index 91e48027..21bbfaf7 100644 --- a/shell/Ui/BarIndicator.qml +++ b/shell/Ui/BarIndicator.qml @@ -43,4 +43,5 @@ BarIconButton { useActiveColor: false maintainIndicatorReveal: indicatorBlock === "inactive" revealHost: indicatorHost + fontSize: Style.font.caption } diff --git a/test/shell.d/bar-icon-geometry-test.sh b/test/shell.d/bar-icon-geometry-test.sh index c1f76208..fae4b579 100644 --- a/test/shell.d/bar-icon-geometry-test.sh +++ b/test/shell.d/bar-icon-geometry-test.sh @@ -73,6 +73,10 @@ ShellRoot { fail("vertical indicator does not use the shared slot") return } + if (verticalIndicator.glyphFontSize !== Style.font.caption) { + fail("indicator does not use the secondary icon scale") + return + } if (Math.abs(verticalIndicator.opticalCenterErrorX) > 0.5) { fail("vertical indicator is not optically centered") return