You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an image's opening and closing tags to the tag stack, optionally providing a [param width] and [param height] to resize the image, a [param color] to tint the image and a [param region] to only use parts of the image.
35
50
If [param width] or [param height] is set to 0, the image size will be adjusted in order to keep the original aspect ratio.
36
51
If [param width] and [param height] are not set, but [param region] is, the region's rect will be used.
37
52
[param key] is an optional identifier, that can be used to modify the image via [method update_image].
38
53
If [param pad] is set, and the image is smaller than the size specified by [param width] and [param height], the image padding is added to match the size instead of upscaling.
39
-
If [param size_in_percent] is set, [param width] and [param height] values are percentages of the control width instead of pixels.
54
+
If [param width_in_percent] is set, [param width] values are percentages of the control width instead of pixels.
55
+
If [param height_in_percent] is set, [param height] values are percentages of the control width instead of pixels.
40
56
[param alt_text] is used as the image description for assistive apps.
The background used when the [RichTextLabel] is focused. The [theme_item focus] [StyleBox] is displayed [i]over[/i] the base [StyleBox], so a partially transparent [StyleBox] should be used to ensure the base [StyleBox] remains visible. A [StyleBox] that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a [StyleBoxEmpty] resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.
Copy file name to clipboardExpand all lines: misc/extension_api_validation/4.4-stable.expected
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -312,3 +312,12 @@ Validate extension JSON: Error: Field 'classes/GLTFBufferView/methods/set_byte_o
312
312
Validate extension JSON: Error: Field 'classes/GLTFBufferView/methods/set_byte_stride/arguments/0': meta changed value in new API, from "int32" to "int64".
313
313
314
314
GLTFBufferView and GLTFAccessor now use int64 for offsets and lengths. Compatibility methods registered.
315
+
316
+
317
+
GH-107347
318
+
---------
319
+
Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/add_image/arguments': size changed value in new API, from 6 to 12.
320
+
Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/add_image/arguments': size changed value in new API, from 10 to 12.
321
+
Validate extension JSON: Error: Field 'classes/RichTextLabel/methods/update_image/arguments': size changed value in new API, from 11 to 12.
0 commit comments