CenterContainer.xml 834 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CenterContainer" inherits="Container" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Keeps children controls centered.
  5. </brief_description>
  6. <description>
  7. CenterContainer keeps children controls centered. This container keeps all children to their minimum size, in the center.
  8. </description>
  9. <tutorials>
  10. <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" default="false">
  16. If [code]true[/code], centers children relative to the [CenterContainer]'s top left corner.
  17. </member>
  18. </members>
  19. <constants>
  20. </constants>
  21. </class>