class_vseparator.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/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/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. Vertical version of :ref:`Separator<class_Separator>`.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Vertical version of :ref:`Separator<class_Separator>`. Even though it looks vertical, it is used to separate objects horizontally.
  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. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`