# ui: Add ability to customize context menu spacing \(\#65044\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7bbd162ddfe16e7985c8954929c4574ce07ce21f

Requested commit: 7bbd162ddfe16e7985c8954929c4574ce07ce21f

Commit: 7bbd162ddfe16e7985c8954929c4574ce07ce21f

Tree: 4b7aaa230965739fb8cfb055547ebc73b79dc54b

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Add ability to customize context menu spacing (#65044)

## Summary

This PR adds a `spacing` method to the context menu, adding the ability
to use the `ListItemSpacing` enum to customize the size of each
individual menu item.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- N/A
```

## Parents

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

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