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.

HSeparator

Inherits: Separator < Control < CanvasItem < Node < Object

分隔其他控件的水平线。

Description

分隔其他垂直排列的控件的水平线。HSeparator 只提供视觉上的分隔,通常用 StyleBoxLine 绘制。

Theme Properties

int

separation

4

StyleBox

separator


Theme Property Descriptions

int separation = 4

分隔器覆盖区域的高度。效果上和最小高度一致。


StyleBox separator

分隔器的线条样式。与 StyleBoxLine 配合使用效果更佳。