# gpui: Add \`aspect-ratio\` builder method to \`Styled\` \(\#48751\) · gitcafe/zed

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

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

Visibility: public

Requested revision: efc6b0ce70f1a95297be20c2e66804c88feca32e

Requested commit: efc6b0ce70f1a95297be20c2e66804c88feca32e

Commit: efc6b0ce70f1a95297be20c2e66804c88feca32e

Tree: c36a1f8f2aae2440ba7735e95d6a00969db9fbe5

Author: Sebastian Kootz

Committer: GitHub

## Message

```
gpui: Add `aspect-ratio` builder method to `Styled` (#48751)

# Summary
This PR simply adds the missing `aspect_ratio` and `aspect_square`
helper functions to the `Styled` trait.

Release Notes:

- N/A

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

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

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