Ver Fonte

Fix `[img]` resource type in BBCode in RichTextLabel

Hugo Locurcio há 2 anos atrás
pai
commit
9a3836396c
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      tutorials/ui/bbcode_in_richtextlabel.rst

+ 2 - 2
tutorials/ui/bbcode_in_richtextlabel.rst

@@ -306,7 +306,7 @@ Reference
     - | ``[hint={tooltip text displayed on hover}]{text}[/hint]``
 
   * - | **img**
-      | Inserts an image from the ``{path}`` (can be any valid image resource).
+      | Inserts an image from the ``{path}`` (can be any valid :ref:`class_Texture2D` resource).
       | If ``{width}`` is provided, the image will try to fit that width maintaining
         the aspect ratio.
       | If both ``{width}`` and ``{height}`` are provided, the image will be scaled
@@ -568,7 +568,7 @@ Image options
   | `Default` | Inherit                                    |
   +-----------+--------------------------------------------+
 
-  Region rect of the image.
+  Region rect of the image. This can be used to display a single image from a spritesheet.
 
 .. _doc_bbcode_in_richtextlabel_image_alignment: