Browse Source

Merge pull request #59841 from KoBeWi/drag_box

Rémi Verschelde 3 years ago
parent
commit
fc45c28660
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/SpinBox.xml

+ 1 - 0
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.
 		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].
 		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] [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>
 	</description>
 	<tutorials>
 	<tutorials>
 	</tutorials>
 	</tutorials>