Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Separator¶
继承: Control < CanvasItem < Node < Object
派生: HSeparator, VSeparator
分隔线的抽象基类。
描述¶
分隔线的抽象基类,用于分隔其他控件。Separator 只提供视觉上的分隔,通常用 StyleBoxLine 绘制。
主题属性¶
|
||
主题属性说明¶
int separation = 0
分隔器所覆盖区域的大小。其作用类似于最小宽度/高度。
StyleBox separator
分隔线的样式。与 StyleBoxLine 一起使用效果最好(请记住为 VSeparator 启用 StyleBoxLine.vertical)。