0.2.0-dev Download ZIP
25 lines ·1.7 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VScrollBar" inherits="ScrollBar" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A vertical scrollbar that goes from top (min) to bottom (max). |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <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" /> |
| 13 | <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" /> |
| 14 | </members> |
| 15 | <theme_items> |
| 16 | <theme_item name="padding_left" data_type="constant" type="int" default="0"> |
| 17 | Padding between the left of the [theme_item ScrollBar.scroll] element and the [theme_item ScrollBar.grabber]. |
| 18 | [b]Note:[/b] To apply vertical padding, modify the top/bottom content margins of [theme_item ScrollBar.scroll] instead. |
| 19 | </theme_item> |
| 20 | <theme_item name="padding_right" data_type="constant" type="int" default="0"> |
| 21 | Padding between the right of the [theme_item ScrollBar.scroll] element and the [theme_item ScrollBar.grabber]. |
| 22 | [b]Note:[/b] To apply vertical padding, modify the top/bottom content margins of [theme_item ScrollBar.scroll] instead. |
| 23 | </theme_item> |
| 24 | </theme_items> |
| 25 | </class> |