Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
HSlider¶
Inherits: Slider < Range < Control < CanvasItem < Node < Object
Horizontal slider.
Description¶
Horizontal slider. See Slider. This one goes from left (min) to right (max).
Note: The Range.changed and Range.value_changed signals are part of the Range class which this class inherits from.
Theme Properties¶
|
||
Theme Property Descriptions¶
int grabber_offset = 0
Vertical offset of the grabber.
Texture2D grabber
The texture for the grabber (the draggable element).
Texture2D grabber_disabled
The texture for the grabber when it's disabled.
Texture2D grabber_highlight
The texture for the grabber when it's focused.
Texture2D tick
The texture for the ticks, visible when Slider.tick_count is greater than 0.
StyleBox grabber_area
The background of the area to the left of the grabber.
StyleBox grabber_area_highlight
The background of the area to the left of the grabber that displays when it's being hovered or focused.
StyleBox slider
The background for the whole slider. Determines the height of the grabber_area
.