Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

height < width doesn't work correctly #3

Open
robtfm opened this issue Jun 20, 2023 · 0 comments
Open

height < width doesn't work correctly #3

robtfm opened this issue Jun 20, 2023 · 0 comments

Comments

@robtfm
Copy link

robtfm commented Jun 20, 2023

when height is less than width, it seems like the height is set equal to the width. this is from the change_size example with the size being output to console:

image

this is on 0.10 - i couldn't see a main-tracking branch. i tried to dig into it but couldn't see where the issue came from. may be bevy's UiImage looking to aspect ratio before container size?

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant