From da34dd49bbb648d8e696098e80ed9f2d39b5c58f Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 20 Dec 2023 13:25:17 -0500 Subject: [PATCH] Fix text wrapping issues with `overflow_hidden` This seems to influence sizing calculations in ways I don't fully understand. --- crates/collab_ui2/src/notification_panel.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/collab_ui2/src/notification_panel.rs b/crates/collab_ui2/src/notification_panel.rs index f3df2fc1d3..20951b34db 100644 --- a/crates/collab_ui2/src/notification_panel.rs +++ b/crates/collab_ui2/src/notification_panel.rs @@ -254,6 +254,7 @@ impl NotificationPanel { v_stack() .gap_1() .size_full() + .overflow_hidden() .child(Label::new(text.clone())) .child( h_stack()