# Standardize TabBar \`start_slot\` and \`end_slot\` elements \(\#11403\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 08c9157a1ed1be7005241646cbb63b0c7c5c81d8

Requested commit: 08c9157a1ed1be7005241646cbb63b0c7c5c81d8

Commit: 08c9157a1ed1be7005241646cbb63b0c7c5c81d8

Tree: 2d0a764238b4f586f03ede70314b63778ee9e8ce

Author: Nate Butler

Committer: GitHub

## Message

```
Standardize TabBar `start_slot` and `end_slot` elements (#11403)

- Unifies spacing between left and right sides of the tab bar
- Use the default icon color for `end_slot` tools. This should help more
clearly differentiate when forward or backward navigation is disabled
due to the tools on the other side not looking so much like the disabled
navigation arrows.
- Rework the TabBar implementation in `pane.rs` to directly pass in
items to the `start_slot` instead of an unneeded extra horizontal
layout.

Left side:

![CleanShot 2024-05-05 at 11 08
35@2x](https://github.com/zed-industries/zed/assets/1714999/ec80fda5-17ce-4cd4-ae54-8c63dcc79e69)

Right side:

![CleanShot 2024-05-05 at 11 09
04@2x](https://github.com/zed-industries/zed/assets/1714999/0281e462-202f-407b-b6b7-7acbcde9138f)

Release Notes:

- Standardized some Tab Bar UI elements. You many notice some slight
spacing or color changes.
```

## Parents

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

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