1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00
Files
godot/doc/classes/CenterContainer.xml
Rémi Verschelde a4005221f5 doc: Sync classref with current source
[ci skip]
2017-09-13 08:53:01 +02:00

38 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="CenterContainer" inherits="Container" category="Core" version="3.0.alpha.custom_build">
<brief_description>
Keeps children controls centered.
</brief_description>
<description>
CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="is_using_top_left" qualifiers="const">
<return type="bool">
</return>
<description>
Should put children to the top left corner instead of center of the container.
</description>
</method>
<method name="set_use_top_left">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container).
</description>
</method>
</methods>
<members>
<member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left">
</member>
</members>
<constants>
</constants>
</class>