# Rename \`h_stack\` and \`v_stack\` to \`h_flex\` and \`v_flex\`, respectively \(\#4053\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 90f4c70a82196af4f545b619cf20096c54bc0897

Requested commit: 90f4c70a82196af4f545b619cf20096c54bc0897

Commit: 90f4c70a82196af4f545b619cf20096c54bc0897

Tree: 55a67b84e470a78ac7f3c6ed5ca3aa1f7b46e6bd

Author: Marshall Bowers

Committer: GitHub

## Message

```
Rename `h_stack` and `v_stack` to `h_flex` and `v_flex`, respectively (#4053)

This PR renames the `h_stack` and `v_stack` to `h_flex` and `v_flex`,
respectively.

We were previously using `h_stack` and `v_stack` to match SwiftUI, but
`h_flex` and `v_flex` fit better with the web/flexbox terminology that
the rest of GPUI uses.

Additionally, we were already calling the utility functions used to
implement `h_stack` and `v_stack` by the new names.

Release Notes:

- N/A
```

## Parents

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

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