Document get_minimum_size not called in some nodes

(cherry picked from commit 7d5ee8f694)
This commit is contained in:
kobewi 2021-12-14 17:48:07 +01:00 committed by Rémi Verschelde
parent 9fc2bc6cf2
commit 4f284893a6
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -32,6 +32,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">