From f83884518aedb81089d8c81818b88b5fa0e7b564 Mon Sep 17 00:00:00 2001 From: Aaron Ruan Date: Mon, 25 Mar 2024 22:45:19 +0800 Subject: [PATCH] Change maximum height of TitleBar (#9758) image Release Notes: - Fixed alignment of items in the title bar ([#9709](https://github.com/zed-industries/zed/issues/9709)). --- crates/ui/src/components/title_bar/title_bar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/components/title_bar/title_bar.rs b/crates/ui/src/components/title_bar/title_bar.rs index e16b231268562d733067f0bdc1d5786f4cc3d440..e50e421d672487e1dea6735629d3c993902bb12a 100644 --- a/crates/ui/src/components/title_bar/title_bar.rs +++ b/crates/ui/src/components/title_bar/title_bar.rs @@ -14,7 +14,7 @@ pub struct TitleBar { impl TitleBar { #[cfg(not(target_os = "windows"))] pub fn height(cx: &mut WindowContext) -> Pixels { - (1.75 * cx.rem_size()).max(px(32.)) + (1.75 * cx.rem_size()).max(px(34.)) } #[cfg(target_os = "windows")]