# gpui: Add text alignment \(\#24090\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aa42e206b3f06a2b70567118d9d70dc0e279fece

Requested commit: aa42e206b3f06a2b70567118d9d70dc0e279fece

Commit: aa42e206b3f06a2b70567118d9d70dc0e279fece

Tree: ba664732bf643e3cdc1bbd603edb56295de70d2b

Author: someone13574

Committer: GitHub

## Message

```
gpui: Add text alignment (#24090)

Adds a text property for controlling left, center, or right text
alignment.

#8792 should stay open since this doesn't add support for `justify`
(which would require a much bigger change since this can just alter the
origin of each line, but justify requires changing spacing, whereas
justify requires changes to each platform's shaping code).

Release Notes:

- N/A
```

## Parents

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

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