summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-11-02 12:14:15 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-11-02 12:14:15 +0100
commit52e799b6d4dce34bce0b1a96cf9d35d18cb7b3ae (patch)
treeddd66f5081fcd3ca3559d1ec758109c5c907a1fd /doc/classes/Control.xml
parentaf4fd9de9c02052f3dc7330cd7cb6aa3f2107191 (diff)
Code format for true/false/null to make documentation consistent
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index 05ffac803a..f5a8683a39 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -62,7 +62,7 @@
</argument>
<description>
Virtual method to be implemented by the user. Returns a [Control] node that should be used as a tooltip instead of the default one. Use [code]for_text[/code] parameter to determine what text the tooltip should contain (likely the contents of [member hint_tooltip]).
- The returned node must be of type [Control] or Control-derieved. It can have child nodes of any type. It is freed when the tooltip disappears, so make sure you always provide a new instance, not e.g. a node from scene. When null or non-Control node is returned, the default tooltip will be used instead.
+ The returned node must be of type [Control] or Control-derieved. It can have child nodes of any type. It is freed when the tooltip disappears, so make sure you always provide a new instance, not e.g. a node from scene. When [code]null[/code] or non-Control node is returned, the default tooltip will be used instead.
[b]Note:[/b] The tooltip is shrunk to minimal size. If you want to ensure it's fully visible, you might want to set its [member rect_min_size] to some non-zero value.
Example of usage with custom-constructed node:
[codeblock]