# Fix tab switcher spacing bug \(\#41329\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2163580b16e82c0720b9afd7f880a27e51f84c87

Requested commit: 2163580b16e82c0720b9afd7f880a27e51f84c87

Commit: 2163580b16e82c0720b9afd7f880a27e51f84c87

Tree: 8d53a2e456538f63d30ddb933cfe82c3ad885172

Author: Anthony Eid

Committer: GitHub

## Message

```
Fix tab switcher spacing bug (#41329)

The tab switcher render matches calls each workspace item's
`Item::tab_content` function that can return an element of variable
size. Because the tab switcher was using a uniform list under the hood,
this would cause spacing issues when tab_contents elements had different
sizes.

The fix is by changing the picker to use a material list under the hood.

Release Notes:

- N/A
```

## Parents

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

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