2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "VSlider" inherits= "Slider" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 20:42:36 +00:00
<brief_description >
2023-04-30 14:26:09 +00:00
A vertical slider that goes from bottom (min) to top (max).
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2023-04-30 14:26:09 +00:00
A vertical slider, used to adjust a value by moving a grabber along a vertical axis. It is a [Range]-based control and goes from bottom (min) to top (max). Note that this direction is the opposite of [VScrollBar]'s.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
2019-09-03 10:44:58 +00:00
<members >
2023-06-15 14:06:22 +00:00
<member name= "size_flags_horizontal" type= "int" setter= "set_h_size_flags" getter= "get_h_size_flags" overrides= "Control" enum= "Control.SizeFlags" is_bitfield= "true" default= "0" />
<member name= "size_flags_vertical" type= "int" setter= "set_v_size_flags" getter= "get_v_size_flags" overrides= "Control" enum= "Control.SizeFlags" is_bitfield= "true" default= "1" />
2019-09-03 10:44:58 +00:00
</members>
2017-09-12 20:42:36 +00:00
<theme_items >
2022-11-23 13:56:10 +00:00
<theme_item name= "center_grabber" data_type= "constant" type= "int" default= "0" >
Boolean constant. If [code]1[/code], the grabber texture size will be ignored and it will fit within slider's bounds based only on its center position.
</theme_item>
2022-06-30 11:34:32 +00:00
<theme_item name= "grabber_offset" data_type= "constant" type= "int" default= "0" >
Horizontal offset of the grabber.
</theme_item>
2021-08-04 16:54:41 +00:00
<theme_item name= "grabber" data_type= "icon" type= "Texture2D" >
2020-03-03 18:21:21 +00:00
The texture for the grabber (the draggable element).
2017-09-12 20:42:36 +00:00
</theme_item>
2021-08-04 16:54:41 +00:00
<theme_item name= "grabber_disabled" data_type= "icon" type= "Texture2D" >
2020-03-03 18:21:21 +00:00
The texture for the grabber when it's disabled.
2017-09-12 20:42:36 +00:00
</theme_item>
2021-08-04 16:54:41 +00:00
<theme_item name= "grabber_highlight" data_type= "icon" type= "Texture2D" >
2020-03-03 18:21:21 +00:00
The texture for the grabber when it's focused.
2017-09-12 20:42:36 +00:00
</theme_item>
2021-08-04 16:54:41 +00:00
<theme_item name= "tick" data_type= "icon" type= "Texture2D" >
2020-03-03 18:21:21 +00:00
The texture for the ticks, visible when [member Slider.tick_count] is greater than 0.
2017-09-12 20:42:36 +00:00
</theme_item>
2021-12-01 18:02:20 +00:00
<theme_item name= "grabber_area" data_type= "style" type= "StyleBox" >
The background of the area below the grabber.
</theme_item>
<theme_item name= "grabber_area_highlight" data_type= "style" type= "StyleBox" >
2022-11-21 02:48:36 +00:00
The background of the area below the grabber that displays when it's being hovered or focused.
2021-12-01 18:02:20 +00:00
</theme_item>
<theme_item name= "slider" data_type= "style" type= "StyleBox" >
The background for the whole slider. Determines the width of the [code]grabber_area[/code].
</theme_item>
2017-09-12 20:42:36 +00:00
</theme_items>
</class>