Skip to content

GuiWindow based tooltips#3242

Open
Wunka wants to merge 3 commits into
PixelGuys:masterfrom
Wunka:tooltip
Open

GuiWindow based tooltips#3242
Wunka wants to merge 3 commits into
PixelGuys:masterfrom
Wunka:tooltip

Conversation

@Wunka

@Wunka Wunka commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

This is not resolving: #2312

With more and more disabled buttons (for example: #3238). I think Buttons need a tooltip to render why they are disabled. As I didn't want to do everything which is in #2312. I took the for now easier route, getTooltip on GuiWindows instead of on items only.

This PR can be kinda seen (if needed even split into seperate PRs) as two things.

  1. Add getTooltip on windows and move the rendering of tooltips around.
  2. Add disabledReason variable to buttons which will be shown in the tooltip of buttons if they are disabled. (Also added two example texts)

@Wunka Wunka moved this to Low Priority in PRs to review Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Low Priority

Development

Successfully merging this pull request may close these issues.

1 participant