Update documentation for sprite and image widgets

Added emphasis on setting width and height for sprite and image widgets.
This commit is contained in:
galister
2026-01-12 04:07:59 +00:00
committed by GitHub
parent 0e004e7b3f
commit 72e64ad965

View File

@@ -160,7 +160,9 @@ _2nd gradient color_
### `<sprite>`
### Image widget for small images,
### Image widget for small images
Always set the `width` & `height` of a <sprite>!
Supported formats: svg, png, jpeg, gif, webp
@@ -196,6 +198,8 @@ _wgui internal image path. Do not use directly unless it's related to the core w
### Image widget for large images
Always set the `width` & `height` of an <image>!
Supported formats: svg, png, jpeg, gif, webp
Maximum image size: Max texture size for the GPU (usually 8K+)