mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Mention how to add dragging for SpinBox's LineEdit
(cherry picked from commit c8de26530727afb4b60f15b412f1f9a7f2fcb104)
This commit is contained in:
parent
634345f152
commit
e34661999f
@ -16,6 +16,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>
|
||||
|
Loading…
Reference in New Issue
Block a user