Godot Engine – Multi-platform 2D and 3D game engine
Correct SpinBox invalid format text
AegisTTNe0900a86fd21
diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xmlindex fac76cd6659..ef94c5106a9 100644--- a/doc/classes/SpinBox.xml+++ b/doc/classes/SpinBox.xml@@ -60,7 +60,7 @@If [code]true[/code], the [SpinBox] will be editable. Otherwise, it will be read only.</member><member name="format" type="String" setter="set_format" getter="get_format" default="""">- The formatting of the displayed numeric value, using the same rules as [String]'s [code]%[/code] operator (see [url=$DOCS_URL/tutorials/scripting/gdscript/gdscript_format_string.html]GDScript format strings[/url]). If empty, the value is displayed with no special formatting. If the format string is invalid, the [SpinBox] will display [code]"ERROR"[/code], with the error message available as a configuration warning.+ The formatting of the displayed numeric value, using the same rules as [String]'s [code]%[/code] operator (see [url=$DOCS_URL/tutorials/scripting/gdscript/gdscript_format_string.html]GDScript format strings[/url]). If empty, the value is displayed with no special formatting. If the format string is invalid, the [SpinBox] will display [code]"<Invalid>"[/code], with the error message available as a configuration warning.The following format strings can be used as examples:- [code]"(%s)"[/code] displays as a number in parentheses (e.g. [code](6.9)[/code]).- [code]"%d ms"[/code] displays as an integer with milliseconds unit (e.g. [code]420 ms[/code]).