# ui: Use \`PopoverMenu::new\` for constructing \`PopoverMenu\`s \(\#13178\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 78e0f71a28620910a0961c1dbbe8c0bdb6af5316

Requested commit: 78e0f71a28620910a0961c1dbbe8c0bdb6af5316

Commit: 78e0f71a28620910a0961c1dbbe8c0bdb6af5316

Tree: d99376acac71270c6b51a556df29b3d8d0d7fb77

Author: Marshall Bowers

Committer: GitHub

## Message

```
ui: Use `PopoverMenu::new` for constructing `PopoverMenu`s (#13178)

This PR replaces the `popover_menu` function for constructing
`PopoverMenu`s with a `PopoverMenu::new` associated function.

This brings `PopoverMenu` in line with our other UI components.

Release Notes:

- N/A
```

## Parents

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

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