diff options
author | Micky <micheledevita2@gmail.com> | 2024-08-18 13:31:57 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2024-08-19 01:00:52 +0200 |
commit | 4ce5856384364214785f9bff99bb299e4a17ca45 (patch) | |
tree | 61d44dd1c89203bf4a19d1a4fe76fe7656035ebb /doc/classes/SpinBox.xml | |
parent | 1bd740d18d714f815486b04bf4c6154ef6c355d9 (diff) | |
download | redot-engine-4ce5856384364214785f9bff99bb299e4a17ca45.tar.gz |
Remove empty `[b]Example:[/b]` lines from the class reference
Diffstat (limited to 'doc/classes/SpinBox.xml')
-rw-r--r-- | doc/classes/SpinBox.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml index 03e247ec8a..2fe2a0eaa1 100644 --- a/doc/classes/SpinBox.xml +++ b/doc/classes/SpinBox.xml @@ -5,7 +5,7 @@ </brief_description> <description> [SpinBox] is a numerical input text field. It allows entering integers and floating-point numbers. - [b]Example:[/b] + [b]Example:[/b] Create a [SpinBox], disable its context menu and set its text alignment to right. [codeblocks] [gdscript] var spin_box = SpinBox.new() @@ -22,7 +22,6 @@ spinBox.AlignHorizontal = LineEdit.HorizontalAlignEnum.Right; [/csharp] [/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. |