From 487b7b299d168014bf0cc6ad0d3d67909cf7c613 Mon Sep 17 00:00:00 2001 From: Ericky Dos Santos Date: Mon, 23 Feb 2026 11:12:14 -0500 Subject: [PATCH] feat: make header 48px --- src/widget/header_bar.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/header_bar.rs b/src/widget/header_bar.rs index 016c097d..eebaa5c3 100644 --- a/src/widget/header_bar.rs +++ b/src/widget/header_bar.rs @@ -441,9 +441,9 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> { (portion, portion) }; - // SSD uses fixed height 54px with 12px padding; non-SSD uses computed height + // SSD uses fixed height 48px with 12px horizontal padding; non-SSD uses computed height let (header_height, header_padding) = if self.is_ssd { - (Length::Fixed(54.0), [11, 12, 11, 12]) + (Length::Fixed(48.0), [8, 12, 8, 12]) } else { ( Length::Fixed(44.0 + padding[0] as f32 + padding[2] as f32),