From 72e64ad965553bb922bcc7c0d8af493d022561d2 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Mon, 12 Jan 2026 04:07:59 +0000 Subject: [PATCH] Update documentation for sprite and image widgets Added emphasis on setting width and height for sprite and image widgets. --- wgui/doc/widgets.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wgui/doc/widgets.md b/wgui/doc/widgets.md index fae5ac2..b4ffffe 100644 --- a/wgui/doc/widgets.md +++ b/wgui/doc/widgets.md @@ -160,7 +160,9 @@ _2nd gradient color_ ### `` -### Image widget for small images, +### Image widget for small images + +Always set the `width` & `height` of a ! 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 ! + Supported formats: svg, png, jpeg, gif, webp Maximum image size: Max texture size for the GPU (usually 8K+)