summaryrefslogtreecommitdiff
path: root/doc/classes/SpinBox.xml
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-04-03 19:40:14 +0200
committerkobewi <kobewi4e@gmail.com>2022-04-03 19:40:14 +0200
commitc8de26530727afb4b60f15b412f1f9a7f2fcb104 (patch)
tree172dfd809979659d335cb32e3e9df75446c3a30f /doc/classes/SpinBox.xml
parentc630c2001dbe2e25e0d372bd22ce85cdc2822eb0 (diff)
Mention how to add dragging for SpinBox's LineEdit
Diffstat (limited to 'doc/classes/SpinBox.xml')
-rw-r--r--doc/classes/SpinBox.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml
index 5e3eb0c9f8..e84f9c38ff 100644
--- a/doc/classes/SpinBox.xml
+++ b/doc/classes/SpinBox.xml
@@ -25,6 +25,7 @@
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] [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>
<tutorials>
</tutorials>