2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-10-12 01:59:32 +02:00
|
|
|
<class name="CenterContainer" inherits="Container" version="4.2">
|
2022-03-15 13:29:32 +01:00
|
|
|
<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>
|
2023-08-29 22:33:15 +02:00
|
|
|
<link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.md</link>
|
2022-03-15 13:29:32 +01:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" default="false">
|
|
|
|
If [code]true[/code], centers children relative to the [CenterContainer]'s top left corner.
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|