Browse Source

Merge pull request #7704 from Calinou/richtextlabel-img-fix-resource-type

Max Hilbrunner 2 years ago
parent
commit
4084f52cca
1 changed files with 2 additions and 2 deletions
  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
@@ -558,7 +558,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: