mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #7704 from Calinou/richtextlabel-img-fix-resource-type
This commit is contained in:
committed by
Max Hilbrunner
parent
8cc0adf30a
commit
130afa2779
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user