Merge pull request #99146 from noidexe/patch-3

Clarify effect of setting "page" parameter in ScrollBar nodes
This commit is contained in:
Thaddeus Crews 2024-11-13 08:34:19 -06:00
commit 5d152713bb
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -54,7 +54,7 @@
Minimum value. Range is clamped if [member value] is less than [member min_value]. Minimum value. Range is clamped if [member value] is less than [member min_value].
</member> </member>
<member name="page" type="float" setter="set_page" getter="get_page" default="0.0"> <member name="page" type="float" setter="set_page" getter="get_page" default="0.0">
Page size. Used mainly for [ScrollBar]. ScrollBar's length is its size multiplied by [member page] over the difference between [member min_value] and [member max_value]. Page size. Used mainly for [ScrollBar]. A [ScrollBar]'s grabber length is the [ScrollBar]'s size multiplied by [member page] over the difference between [member min_value] and [member max_value].
</member> </member>
<member name="ratio" type="float" setter="set_as_ratio" getter="get_as_ratio"> <member name="ratio" type="float" setter="set_as_ratio" getter="get_as_ratio">
The value mapped between 0 and 1. The value mapped between 0 and 1.