Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'

This commit is contained in:
Eric M
2020-04-27 20:24:27 +10:00
parent dc2b062609
commit baba971c81
3 changed files with 39 additions and 1 deletions

View File

@ -55,6 +55,9 @@
<member name="suffix" type="String" setter="set_suffix" getter="get_suffix" default="&quot;&quot;">
Adds the specified [code]suffix[/code] string after the numerical value of the [SpinBox].
</member>
<member name="update_on_text_changed" type="bool" setter="set_update_on_text_changed" getter="get_update_on_text_changed" default="false">
Sets the value of the [Range] for this [SpinBox] when the [LineEdit] text is [i]changed[/i] instead of [i]submitted[/i]. See [signal LineEdit.text_changed] and [signal LineEdit.text_submitted].
</member>
</members>
<theme_items>
<theme_item name="updown" data_type="icon" type="Texture2D">