Skip to content

VScrollBar

Inherits: ScrollBar < Range < Control < CanvasItem < Entity < Object

A vertical scrollbar that goes from top (min) to bottom (max).

A vertical scrollbar, typically used to navigate through content that extends beyond the visible height of a control. It is a Range-based control and goes from top (min) to bottom (max). Note that this direction is the opposite of VSlider’s.

Type Name Default
BitField[Control.SizeFlags] size_flags_horizontal 0 (overrides Control)
BitField[Control.SizeFlags] size_flags_vertical 1 (overrides Control)

padding_left

int padding_left (constant) = 0

padding_right

int padding_right (constant) = 0