Independent spinbox arrow step precision

Rebased by EIREXE

This work has been kindly sponsored by IMVU & EIRTeam.
This commit is contained in:
Jóhannes Gunnar Þorsteinsson
2019-11-15 15:04:34 +00:00
committed by Álex Román
parent 787bb0f269
commit ba35cff303
3 changed files with 25 additions and 5 deletions

View File

@ -47,6 +47,9 @@
<members>
<member name="alignment" type="int" setter="set_horizontal_alignment" getter="get_horizontal_alignment" enum="HorizontalAlignment" default="0">
</member>
<member name="custom_arrow_step" type="float" setter="set_custom_arrow_step" getter="get_custom_arrow_step" default="0.0">
If not [code]0[/code], [code]value[/code] will always be rounded to a multiple of [code]custom_arrow_step[/code] when interacting with the arrow buttons of the [SpinBox].
</member>
<member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true">
If [code]true[/code], the [SpinBox] will be editable. Otherwise, it will be read only.
</member>