class_hboxcontainer.rst 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/HBoxContainer.xml.
  6. .. _class_HBoxContainer:
  7. HBoxContainer
  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:`EditorResourcePicker<class_EditorResourcePicker>`
  11. A container that arranges its child controls horizontally.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. A variant of :ref:`BoxContainer<class_BoxContainer>` that can only arrange its child controls horizontally. 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. .. rst-class:: classref-reftable-group
  21. Theme Properties
  22. ----------------
  23. .. table::
  24. :widths: auto
  25. +-----------------------+------------------------------------------------------------------+-------+
  26. | :ref:`int<class_int>` | :ref:`separation<class_HBoxContainer_theme_constant_separation>` | ``4`` |
  27. +-----------------------+------------------------------------------------------------------+-------+
  28. .. rst-class:: classref-section-separator
  29. ----
  30. .. rst-class:: classref-descriptions-group
  31. Theme Property Descriptions
  32. ---------------------------
  33. .. _class_HBoxContainer_theme_constant_separation:
  34. .. rst-class:: classref-themeproperty
  35. :ref:`int<class_int>` **separation** = ``4``
  36. The horizontal space between the **HBoxContainer**'s elements.
  37. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  38. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  39. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  40. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  41. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  42. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`