# gpui: Add \`align-self\` methods to \`Styled\` trait \(\#51652\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fa7182b6bac3954be4c7b74764f0ec538bcae0e0

Requested commit: fa7182b6bac3954be4c7b74764f0ec538bcae0e0

Commit: fa7182b6bac3954be4c7b74764f0ec538bcae0e0

Tree: 4054b2b10434924fa2acfabe98005700ee78e00e

Author: Sebastian Kootz

Committer: GitHub

## Message

```
gpui: Add `align-self` methods to `Styled` trait (#51652)

This PR adds the missing methods for the `align-self` css property. The
`align_self` field existed on the `StyleRefinement` struct but was
inaccessible using the `styled` trait.

Release Notes:

- Adds `self_start`, `self_end`, `self_center`, `self_flex_start`,
`self_flex_end`, `self_baseline`, and `self_stretch` methods to the
`trait Styled`
```

## Parents

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

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