diff options
author | kobewi <kobewi4e@gmail.com> | 2021-12-14 17:48:07 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-12-14 17:48:07 +0100 |
commit | 7d5ee8f6947c03701e02b6ae751459d436f0442c (patch) | |
tree | 7a81dddb987c4c0af7d75009d7e48a99d559c43c /doc/classes | |
parent | 965a527775359f4b0c868805ad1876bf87ac2857 (diff) |
Document get_minimum_size not called in some nodes
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Control.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index ed6a71d5c3..39f8980b2c 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -102,6 +102,7 @@ <description> Virtual method to be implemented by the user. Returns the minimum size for this control. Alternative to [member rect_min_size] for controlling minimum size via code. The actual minimum size will be the max value of these two (in each axis separately). If not overridden, defaults to [constant Vector2.ZERO]. + [b]Note:[/b] This method will not be called when the script is attached to a [Control] node that already overrides its minimum size (e.g. [Label], [Button], [PanelContainer] etc.). It can only be used with most basic GUI nodes, like [Control], [Container], [Panel] etc. </description> </method> <method name="_gui_input" qualifiers="virtual"> |