From 9f8ffd414692a731a32d863484f4a2a26742cb4b Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Wed, 16 Oct 2019 12:00:15 +0200 Subject: Support for resized images in RichTextLabel BBCode Tag: [img=x]{path}[/img] --- doc/classes/RichTextLabel.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index faf2ac1ff9..01c8ee4779 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -16,8 +16,13 @@ + + + + - Adds an image's opening and closing tags to the tag stack. + Adds an image's opening and closing tags to the tag stack, optionally providing a [code]width[/code] and [code]height[/code] to resize the image. + If [code]width[/code] or [code]height[/code] is set to 0, the image size will be adjusted in order to keep the original aspect ratio. -- cgit v1.2.3