Merge pull request #87445 from KoBeWi/expand_the_Control_empire

Clarify sizing of main screen plugins
This commit is contained in:
Rémi Verschelde
2024-01-29 13:17:05 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -87,6 +87,7 @@
<return type="VBoxContainer" />
<description>
Returns the editor control responsible for main screen plugins and tools. Use it with plugins that implement [method EditorPlugin._has_main_screen].
[b]Note:[/b] This node is a [VBoxContainer], which means that if you add a [Control] child to it, you need to set the child's [member Control.size_flags_vertical] to [constant Control.SIZE_EXPAND_FILL] to make it use the full available space.
[b]Warning:[/b] Removing and freeing this node will render a part of the editor useless and may cause a crash.
</description>
</method>