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 <djsmits12@gmail.com>
This commit is contained in:
Anthony Eid
2025-11-07 19:42:14 +00:00
committed by GitHub
co-authored by Remco Smits
parent 8e4c807c6a
commit 7475bdaf20
@@ -1404,6 +1404,7 @@ impl VariableList {
div()
.text_ui(cx)
.w_full()
.truncate()
.when(self.disabled, |this| {
this.text_color(Color::Disabled.color(cx))
})