From 55e68553a45722718305f4207ca09a54a214eecb Mon Sep 17 00:00:00 2001 From: John Tur Date: Fri, 3 Oct 2025 19:25:54 -0400 Subject: [PATCH] Fix caption buttons going off-screen (#39502) https://github.com/user-attachments/assets/27bf58df-b8c4-4730-856b-d62ec639a552 Previously the caption buttons (minimize, maximize, close) would disappear off the right side of the title bar. Release Notes: - N/A Co-authored-by: Julia Ryan --- crates/title_bar/src/platform_title_bar.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/title_bar/src/platform_title_bar.rs b/crates/title_bar/src/platform_title_bar.rs index bc1057a4d4..c816f0930c 100644 --- a/crates/title_bar/src/platform_title_bar.rs +++ b/crates/title_bar/src/platform_title_bar.rs @@ -109,6 +109,7 @@ impl Render for PlatformTitleBar { .flex_row() .items_center() .justify_between() + .overflow_x_hidden() .w_full() // Note: On Windows the title bar behavior is handled by the platform implementation. .when(self.platform_style == PlatformStyle::Mac, |this| {