# debugger: Add horizontal scroll bars to variable list, memory view, and breakpoint list \(\#41594\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/44e5a962e66e669d84edc7f51433c000460d2fb9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 44e5a962e66e669d84edc7f51433c000460d2fb9

Requested commit: 44e5a962e66e669d84edc7f51433c000460d2fb9

Commit: 44e5a962e66e669d84edc7f51433c000460d2fb9

Tree: 9874c9c5cdf9e1c58ea26a6a4b21bd240eb58ba5

Author: Anthony Eid

Committer: GitHub

## Message

```
debugger: Add horizontal scroll bars to variable list, memory view, and breakpoint list (#41594)

Closes #40360

This PR added heuristics to determine what variable/breakpoint list
entry has the longest width when rendered. I added this in so the
uniform list would correctly determine which item has the longest width
and use that to calculate the scrollbar size.

The heuristic can be off if a non-mono space font is used in the UI; in
most cases, it's more than accurate enough though.

Release Notes:

- debugger: Add horizontal scroll bars to variable list, memory view,
and breakpoint list

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>
```

## Parents

- [3944234babc45e9730f082b9e1501b3d094c4948](https://git.cafe/gitcafe/zed/commit/3944234babc45e9730f082b9e1501b3d094c4948?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/44e5a962e66e669d84edc7f51433c000460d2fb9?format=markdown)
