0.2.0-dev Download ZIP
17 lines ·806 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="CenterContainer" inherits="Container" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A container that keeps child controls in its center. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | [CenterContainer] is a container that keeps all of its child controls in its center at their minimum size. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="Using Containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" default="false"> |
| 14 | If [code]true[/code], centers children relative to the [CenterContainer]'s top left corner. |
| 15 | </member> |
| 16 | </members> |
| 17 | </class> |