VScrollBar

继承: ScrollBar < Range < Control < CanvasItem < Node < Object

垂直滚动条,从顶部(最小)滚动到底部(最大)。

描述

垂直滑块,通常用于为超出控件可见高度的内容进行导航。这是基于 Range 的控件,从顶部(最小)滚动到底部(最大)。注意,滚动方向和 VSlider 相反。

属性

BitField[SizeFlags]

size_flags_horizontal

0 (overrides Control)

BitField[SizeFlags]

size_flags_vertical

1 (overrides Control)

主题属性

int

padding_left

0

int

padding_right

0


主题属性说明

int padding_left = 0 🔗

Padding between the left of the ScrollBar.scroll element and the ScrollBar.grabber.

Note: To apply vertical padding, modify the top/bottom content margins of ScrollBar.scroll instead.


int padding_right = 0 🔗

Padding between the right of the ScrollBar.scroll element and the ScrollBar.grabber.

Note: To apply vertical padding, modify the top/bottom content margins of ScrollBar.scroll instead.