class_vboxcontainer.rst 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/VBoxContainer.xml.
  6. .. _class_VBoxContainer:
  7. VBoxContainer
  8. =============
  9. **Inherits:** :ref:`BoxContainer<class_BoxContainer>` **<** :ref:`Container<class_Container>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`ColorPicker<class_ColorPicker>`, :ref:`FileSystemDock<class_FileSystemDock>`, :ref:`ScriptEditorBase<class_ScriptEditorBase>`
  11. A container that arranges its child controls vertically.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. A variant of :ref:`BoxContainer<class_BoxContainer>` that can only arrange its child controls vertically. Child controls are rearranged automatically when their minimum size changes.
  16. .. rst-class:: classref-introduction-group
  17. Tutorials
  18. ---------
  19. - :doc:`Using Containers <../tutorials/ui/gui_containers>`
  20. - `3D Voxel Demo <https://godotengine.org/asset-library/asset/676>`__
  21. .. rst-class:: classref-reftable-group
  22. Theme Properties
  23. ----------------
  24. .. table::
  25. :widths: auto
  26. +-----------------------+------------------------------------------------------------------+-------+
  27. | :ref:`int<class_int>` | :ref:`separation<class_VBoxContainer_theme_constant_separation>` | ``4`` |
  28. +-----------------------+------------------------------------------------------------------+-------+
  29. .. rst-class:: classref-section-separator
  30. ----
  31. .. rst-class:: classref-descriptions-group
  32. Theme Property Descriptions
  33. ---------------------------
  34. .. _class_VBoxContainer_theme_constant_separation:
  35. .. rst-class:: classref-themeproperty
  36. :ref:`int<class_int>` **separation** = ``4``
  37. The vertical space between the **VBoxContainer**'s elements.
  38. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  39. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  40. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  41. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  42. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  43. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`