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

Tooltips: Improve code clarity and docs #43280

Merged
merged 1 commit into from
Nov 3, 2020

Commits on Nov 3, 2020

  1. Tooltips: Improve code clarity and docs

    The return type for `_make_custom_tooltip` is clarified as Control, and users
    should make sure to return a visible node for proper size calculations.
    
    Moreover in the current master branch, a PopupPanel will be added as parent
    to the provided tooltip to make it a sub-window.
    
    Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
    use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
    to style tooltips.
    
    Fixes godotengine#39677.
    akien-mga committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    c5d8daf View commit details
    Browse the repository at this point in the history