# Simplify usage of tooltip · gitcafe/zed

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

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

Visibility: public

Requested revision: cc028cca784b6b6fc82685c7559adce4dfd9a1c6

Requested commit: cc028cca784b6b6fc82685c7559adce4dfd9a1c6

Commit: cc028cca784b6b6fc82685c7559adce4dfd9a1c6

Tree: 0e32d4a374958e4e2f7518ce5a16a3e9baafea8e

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Simplify usage of tooltip

Now you simply specify a text, an action and a style and GPUI will
take of rendering it properly. This is simpler compared to always
providing a custom element and should make tooltip more consistent
across the UI.

```

## Parents

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

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