godot / 3.4 / classes / class_vscrollbar.html

VScrollBar

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

Vertical scroll bar.

Description

Vertical version of ScrollBar, which goes from top (min) to bottom (max).

Properties

int

size_flags_horizontal

0 (parent override)

int

size_flags_vertical

1 (parent override)

Theme Properties

Theme Property Descriptions

Texture decrement

Icon used as a button to scroll the ScrollBar up. Supports custom step using the ScrollBar.custom_step property.

Texture decrement_highlight

Displayed when the mouse cursor hovers over the decrement button.

Texture decrement_pressed

Displayed when the decrement button is being pressed.

Texture increment

Icon used as a button to scroll the ScrollBar down. Supports custom step using the ScrollBar.custom_step property.

Texture increment_highlight

Displayed when the mouse cursor hovers over the increment button.

Texture increment_pressed

Displayed when the increment button is being pressed.

StyleBox grabber

Used as texture for the grabber, the draggable element representing current scroll.

StyleBox grabber_highlight

Used when the mouse hovers over the grabber.

StyleBox grabber_pressed

Used when the grabber is being dragged.

StyleBox scroll

Used as background of this ScrollBar.

StyleBox scroll_focus

Used as background when the ScrollBar has the GUI focus.

© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_vscrollbar.html