diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2021-12-15 03:33:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 03:33:15 +0100 |
commit | e8e2865f88f6d5a16adb0c6bbe7e51f2a7a97dee (patch) | |
tree | be86fcb390cd510310f5b8d12e9ea1f824082fd9 /doc/classes | |
parent | 9d81bfea7431b70b21e326af78a1c75c10e37368 (diff) | |
parent | 7d5ee8f6947c03701e02b6ae751459d436f0442c (diff) | |
download | redot-engine-e8e2865f88f6d5a16adb0c6bbe7e51f2a7a97dee.tar.gz |
Merge pull request #55935 from KoBeWi/get_minimum_size_not
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"> |