diff options
author | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-09 19:20:52 +0800 |
---|---|---|
committer | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-09 19:20:52 +0800 |
commit | 47b78d04bbc1e3debd466c2a5d228eb69889b0ff (patch) | |
tree | 1b1c0f2027f18f5686bb4c5695800c8d35e3456d /doc/classes/SpinBox.xml | |
parent | 6916349697a4339216469e9bf5899b983d78db07 (diff) | |
download | redot-engine-47b78d04bbc1e3debd466c2a5d228eb69889b0ff.tar.gz |
Update SpinBox documentation to include resetting to min/max behaviour
Diffstat (limited to 'doc/classes/SpinBox.xml')
-rw-r--r-- | doc/classes/SpinBox.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml index 0671bd5967..8627a9e40f 100644 --- a/doc/classes/SpinBox.xml +++ b/doc/classes/SpinBox.xml @@ -24,6 +24,7 @@ [/codeblocks] The above code will create a [SpinBox], disable context menu on it and set the text alignment to right. See [Range] class for more options over the [SpinBox]. + [b]Note:[/b] With the [SpinBox]'s context menu disabled, you can right-click the bottom half of the spinbox to set the value to its minimum, while right-clicking the top half sets the value to its maximum. [b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a [SpinBox]'s background, add theme items for [LineEdit] and customize them. [b]Note:[/b] If you want to implement drag and drop for the underlying [LineEdit], you can use [method Control.set_drag_forwarding] on the node returned by [method get_line_edit]. </description> |