diff options
author | Eric M <itsjusteza@gmail.com> | 2020-04-27 20:24:27 +1000 |
---|---|---|
committer | Eric M <itsjusteza@gmail.com> | 2021-09-21 23:24:33 +1000 |
commit | baba971c81fee3c87c1b1a8994c42fc1a29e7b76 (patch) | |
tree | 62b8456237bef29b94a53231f27d5bcdf4c4c9f6 /doc/classes | |
parent | dc2b06260901249f1510eaafe11d7db91ed5a579 (diff) |
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/SpinBox.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml index c86742eb46..33d2b472b5 100644 --- a/doc/classes/SpinBox.xml +++ b/doc/classes/SpinBox.xml @@ -55,6 +55,9 @@ <member name="suffix" type="String" setter="set_suffix" getter="get_suffix" default=""""> 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"> |