class_vseparator.rst 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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/VSeparator.xml.
  6. .. _class_VSeparator:
  7. VSeparator
  8. ==========
  9. **Inherits:** :ref:`Separator<class_Separator>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. A vertical line used for separating other controls.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. A vertical separator used for separating other controls that are arranged **horizontally**. **VSeparator** is purely visual and normally drawn as a :ref:`StyleBoxLine<class_StyleBoxLine>`.
  15. .. rst-class:: classref-reftable-group
  16. Theme Properties
  17. ----------------
  18. .. table::
  19. :widths: auto
  20. +---------------------------------+---------------------------------------------------------------+-------+
  21. | :ref:`int<class_int>` | :ref:`separation<class_VSeparator_theme_constant_separation>` | ``4`` |
  22. +---------------------------------+---------------------------------------------------------------+-------+
  23. | :ref:`StyleBox<class_StyleBox>` | :ref:`separator<class_VSeparator_theme_style_separator>` | |
  24. +---------------------------------+---------------------------------------------------------------+-------+
  25. .. rst-class:: classref-section-separator
  26. ----
  27. .. rst-class:: classref-descriptions-group
  28. Theme Property Descriptions
  29. ---------------------------
  30. .. _class_VSeparator_theme_constant_separation:
  31. .. rst-class:: classref-themeproperty
  32. :ref:`int<class_int>` **separation** = ``4``
  33. The width of the area covered by the separator. Effectively works like a minimum width.
  34. .. rst-class:: classref-item-separator
  35. ----
  36. .. _class_VSeparator_theme_style_separator:
  37. .. rst-class:: classref-themeproperty
  38. :ref:`StyleBox<class_StyleBox>` **separator**
  39. The style for the separator line. Works best with :ref:`StyleBoxLine<class_StyleBoxLine>` (remember to enable :ref:`StyleBoxLine.vertical<class_StyleBoxLine_property_vertical>`).
  40. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  41. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  42. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  43. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  44. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  45. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`