# Layout completion single-line documentation to the right of item \(\#3845\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d3e9760ba75544e4787be69763ebef706ba8d4be

Requested commit: d3e9760ba75544e4787be69763ebef706ba8d4be

Commit: d3e9760ba75544e4787be69763ebef706ba8d4be

Tree: 6e2e95717244d3968654258fc3bbd299cb305d12

Author: Marshall Bowers

Committer: GitHub

## Message

```
Layout completion single-line documentation to the right of item (#3845)

Don't love how this turned out, it seems uniform list doesn't tie the
widths of its items together, so there needs to be a set size to fill in
order to put the documentation detail on the right side. That means it
won't be able to shrink for completion lists which don't need the full
width. Zed1 has this same limitation but it would be nice to do it nicer
now

Before
![CleanShot 2024-01-02 at 16 04
04](https://github.com/zed-industries/zed/assets/30666851/6c154465-83cd-41c3-a16a-5f2ff5041bc1)

After
![CleanShot 2024-01-02 at 16 05
29](https://github.com/zed-industries/zed/assets/30666851/4f641040-a06a-4474-a2c7-bd3c89ae049e)

Release Notes:

- N/A
```

## Parents

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

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

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