mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Use code markup for default values/overrides
Sync with godotengine/godot#35357. Fixes #3071.
This commit is contained in:
@@ -23,13 +23,13 @@ Comment nodes can be resized so they encompass a group of nodes.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+--------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`description<class_VisualScriptComment_property_description>` | "" |
|
||||
+-------------------------------+--------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualScriptComment_property_size>` | Vector2( 150, 150 ) |
|
||||
+-------------------------------+--------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`title<class_VisualScriptComment_property_title>` | "Comment" |
|
||||
+-------------------------------+--------------------------------------------------------------------+---------------------+
|
||||
+-------------------------------+--------------------------------------------------------------------+-------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`description<class_VisualScriptComment_property_description>` | ``""`` |
|
||||
+-------------------------------+--------------------------------------------------------------------+-------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`size<class_VisualScriptComment_property_size>` | ``Vector2( 150, 150 )`` |
|
||||
+-------------------------------+--------------------------------------------------------------------+-------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`title<class_VisualScriptComment_property_title>` | ``"Comment"`` |
|
||||
+-------------------------------+--------------------------------------------------------------------+-------------------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
@@ -39,7 +39,7 @@ Property Descriptions
|
||||
- :ref:`String<class_String>` **description**
|
||||
|
||||
+-----------+------------------------+
|
||||
| *Default* | "" |
|
||||
| *Default* | ``""`` |
|
||||
+-----------+------------------------+
|
||||
| *Setter* | set_description(value) |
|
||||
+-----------+------------------------+
|
||||
@@ -54,13 +54,13 @@ The text inside the comment node.
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **size**
|
||||
|
||||
+-----------+---------------------+
|
||||
| *Default* | Vector2( 150, 150 ) |
|
||||
+-----------+---------------------+
|
||||
| *Setter* | set_size(value) |
|
||||
+-----------+---------------------+
|
||||
| *Getter* | get_size() |
|
||||
+-----------+---------------------+
|
||||
+-----------+-------------------------+
|
||||
| *Default* | ``Vector2( 150, 150 )`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_size(value) |
|
||||
+-----------+-------------------------+
|
||||
| *Getter* | get_size() |
|
||||
+-----------+-------------------------+
|
||||
|
||||
The comment node's size (in pixels).
|
||||
|
||||
@@ -71,7 +71,7 @@ The comment node's size (in pixels).
|
||||
- :ref:`String<class_String>` **title**
|
||||
|
||||
+-----------+------------------+
|
||||
| *Default* | "Comment" |
|
||||
| *Default* | ``"Comment"`` |
|
||||
+-----------+------------------+
|
||||
| *Setter* | set_title(value) |
|
||||
+-----------+------------------+
|
||||
|
||||
Reference in New Issue
Block a user