mirror of https://github.com/godotengine/godot
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 #39677.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| SCsub | ||
| canvas_layer.cpp | ||
| canvas_layer.h | ||
| http_request.cpp | ||
| http_request.h | ||
| instance_placeholder.cpp | ||
| instance_placeholder.h | ||
| node.cpp | ||
| node.h | ||
| resource_preloader.cpp | ||
| resource_preloader.h | ||
| scene_tree.cpp | ||
| scene_tree.h | ||
| timer.cpp | ||
| timer.h | ||
| viewport.cpp | ||
| viewport.h | ||