Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WSprite Texture AutoScale #172

Open
wuming123 opened this issue Aug 28, 2022 · 1 comment
Open

WSprite Texture AutoScale #172

wuming123 opened this issue Aug 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@wuming123
Copy link

wuming123 commented Aug 28, 2022

Is your feature request related to a problem? Please describe.
When I use the Sprite Widget, the Texture does not automatically scale to the size of the Wdiget

Describe the solution you'd like
I want WSprite to be able to stretch freely and maintain the vertical ratio

Describe alternatives you've considered
Free stretching of the texture by method

Additional context
No

@wuming123 wuming123 added the enhancement New feature or request label Aug 28, 2022
@wuming123 wuming123 changed the title WSprite WSprite Texture AutoScale Aug 28, 2022
@Juuxel
Copy link
Member

Juuxel commented Aug 28, 2022

I'm a bit confused - WSprite definitely stretches the texture to fit the widget size:

ScreenDrawing.texturedRect(matrices, x, y, getWidth(), getHeight(), texture, tint);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants