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

How can I dynamically update WBar's tooltip? #105

Open
ezioleq opened this issue Apr 20, 2021 · 1 comment
Open

How can I dynamically update WBar's tooltip? #105

ezioleq opened this issue Apr 20, 2021 · 1 comment
Labels
question Further information is requested

Comments

@ezioleq
Copy link

ezioleq commented Apr 20, 2021

Is there a way to update the WBar's tooltip dynamically like the WDynamicLabel gets its text each time it renders?
Currently I'm using withTooltip() method and the tooltip only updates when the GUI is created.

@Juuxel
Copy link
Member

Juuxel commented Apr 20, 2021

You can use withTooltip whenever your data is updated, or in your screen's tick method (note: that method is client-only, which is really what you'd want in this case).

@Juuxel Juuxel added the question Further information is requested label Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants