Closed flamendless closed 3 years ago
Hi @flamendless, thanks for the suggestion. I'll add this to the upcoming patch release.
The Sub variant will actually create a quad with the given settings and will reference the texture coordinates supplied in the call. Slab should then add the widget based on the bounds of the quad. If not, I'll try to reproduce the issue and fix it for the upcoming release.
Oh i mistyped the last part. I meant that using the Scale
with the Sub
variants makes the image overflow the window. It also overlaps behind other widgets.
Hi, it would be useful to allow something like:
As an alternative to
Sub(x,y,w,h)
Also, for clarification, does the
Sub
variant inImage
does the same as quad or it's for controlling how the image is drawn in the widget?I've noticed that using the
Scale
withSub
variants makes the image overflow in the widget without the widget size and succeeding elements adjust properly.