From 7475bdaf20c7f8ca0bf434344af798092fd418f5 Mon Sep 17 00:00:00 2001 From: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com> Date: Fri, 7 Nov 2025 14:42:14 -0500 Subject: [PATCH] debugger: Truncate scope names to avoid text overlapping in variable list (#42230) Closes #41969 This was caused because scope names weren't being truncated unlike the other type of variable list entries. Release Notes: - debugger: Fix bug where minimizing the width of the variable list would cause scope names to overlap Co-authored-by: Remco Smits --- crates/debugger_ui/src/session/running/variable_list.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/debugger_ui/src/session/running/variable_list.rs b/crates/debugger_ui/src/session/running/variable_list.rs index 3da1bd33c4a6de3d161a78b5ff5188f655d019c7..7d736aace58ab1b27ccab5690cf24d4cff9a47f6 100644 --- a/crates/debugger_ui/src/session/running/variable_list.rs +++ b/crates/debugger_ui/src/session/running/variable_list.rs @@ -1404,6 +1404,7 @@ impl VariableList { div() .text_ui(cx) .w_full() + .truncate() .when(self.disabled, |this| { this.text_color(Color::Disabled.color(cx)) })