Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing multiple tooltips at different locations #890

Closed
zylkowski opened this issue Nov 13, 2021 · 2 comments · Fixed by #4580
Closed

Showing multiple tooltips at different locations #890

zylkowski opened this issue Nov 13, 2021 · 2 comments · Fixed by #4580
Labels
feature New feature or request

Comments

@zylkowski
Copy link

Is your feature request related to a problem? Please describe.
When trying to render multiple tooltips at once they all have to be in the same location.

Describe the solution you'd like
Allow rendering multiple tooltips at different locations.

Describe alternatives you've considered
Hacky solution would be to render multiple windows instead of tooltips.

@Friz64
Copy link
Contributor

Friz64 commented Feb 1, 2022

I am affected by this and want to try working on a fix.

Are there any advantages to tooltip stacking? Should tooltip stacking be removed entirely? And if not, how should the API look for it? - Should you be able to only stack certain tooltips but not others?

@Friz64
Copy link
Contributor

Friz64 commented Feb 2, 2022

Disregard my last comment, i realized my problem was that i was abusing tooltips, not using them for their intended use case. I solved my problem with custom Areas together with Frame::popup.

@emilk emilk added the feature New feature or request label Apr 16, 2022
@emilk emilk mentioned this issue May 29, 2024
2 tasks
@emilk emilk closed this as completed in 0039614 May 29, 2024
emilk added a commit that referenced this issue May 29, 2024
These functions will always show a tooltip under the widget when called,
even if the user is not hovering the widget.

This can be useful for tutorials and notification and similar.

* Closes #890
hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
This simplifies and improves the tooltip positioning

* Closes emilk#4568

### For a follow-up PR
* [ ] Test if it closes emilk#4471
* [ ] Add an API to close emilk#890
hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
These functions will always show a tooltip under the widget when called,
even if the user is not hovering the widget.

This can be useful for tutorials and notification and similar.

* Closes emilk#890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants