From 21b0ade357aa5fda93719e06527a47c5ec970d78 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 19 May 2026 02:50:05 -0600 Subject: [PATCH] fix(slint): tighten the header right-side controls by 2px cc --- crates/qbz-slint/ui/shell/HeaderBar.slint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/qbz-slint/ui/shell/HeaderBar.slint b/crates/qbz-slint/ui/shell/HeaderBar.slint index a3075987b..af9506711 100644 --- a/crates/qbz-slint/ui/shell/HeaderBar.slint +++ b/crates/qbz-slint/ui/shell/HeaderBar.slint @@ -362,7 +362,8 @@ export component HeaderBar inherits Rectangle { // Explicit width (3 * 36 + 2 * 2 spacing) so the right anchor lands // correctly — a layout left to its own devices fills the parent. right-controls := HorizontalLayout { - x: root.width - self.width - Spacing.md; + // 2px tighter to the window edge than the standard margin. + x: root.width - self.width - Spacing.md + 2px; y: (root.height - self.height) / 2; width: 112px; height: 36px;