diff options
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ColorPicker.xml | 3 | ||||
-rw-r--r-- | doc/classes/HSlider.xml | 3 | ||||
-rw-r--r-- | doc/classes/VSlider.xml | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index 14656c649e..61a0606f79 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -141,6 +141,9 @@ </constant> </constants> <theme_items> + <theme_item name="center_slider_grabbers" data_type="constant" type="int" default="1"> + Overrides the [theme_item HSlider.center_grabber] theme property of the sliders. + </theme_item> <theme_item name="h_width" data_type="constant" type="int" default="30"> The width of the hue selection slider. </theme_item> diff --git a/doc/classes/HSlider.xml b/doc/classes/HSlider.xml index 5e11c1c3ab..2ab66a2e75 100644 --- a/doc/classes/HSlider.xml +++ b/doc/classes/HSlider.xml @@ -10,6 +10,9 @@ <tutorials> </tutorials> <theme_items> + <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> <theme_item name="grabber_offset" data_type="constant" type="int" default="0"> Vertical offset of the grabber. </theme_item> diff --git a/doc/classes/VSlider.xml b/doc/classes/VSlider.xml index 4a203d2443..b1906ccef2 100644 --- a/doc/classes/VSlider.xml +++ b/doc/classes/VSlider.xml @@ -14,6 +14,9 @@ <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" enum="Control.SizeFlags" default="1" /> </members> <theme_items> + <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> <theme_item name="grabber_offset" data_type="constant" type="int" default="0"> Horizontal offset of the grabber. </theme_item> |