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

This commit is contained in:
Max Hilbrunner
2023-07-22 16:57:22 +02:00
committed by Max Hilbrunner
parent 8cc0adf30a
commit 130afa2779

View File

@@ -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: