# keymap ui: Improve resize columns on double click \(\#34961\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 56b64b1d3f60dcb15997310c85cd2454ce300d43

Requested commit: 56b64b1d3f60dcb15997310c85cd2454ce300d43

Commit: 56b64b1d3f60dcb15997310c85cd2454ce300d43

Tree: 8056b261b22e67a683a96c5775a79d9a951ff8e1

Author: Anthony Eid

Committer: GitHub

## Message

```
keymap ui: Improve resize columns on double click (#34961)

This PR splits the resize logic into separate left/right propagation
methods and improve code organization around column width adjustments.
It also allows resize to work for both the left and right sides as well,
instead of only checking the right side for room

Release Notes:

- N/A *or* Added/Fixed/Improved ...

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
```

## Parents

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

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