-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flex does not center the node and node does not respond to height change in window. #9841
Comments
Can you reproduce this on this branch? #9637 |
I can reproduce this on top of #9637 (I have to add Adding an explicit |
Hmm... interestingly it also does seem to work if the parent node is |
This is indeed a Taffy bug. Fix incoming. |
@Hossein-Noroozpour Taffy |
In version "0.11.2"
I wanted to place an image in the centre and keep its height 100% of the window and width proportional to the height (keep the aspect)
This is the equivalent of flex in CSS.
but the behaviour in Bevy is different:
The text was updated successfully, but these errors were encountered: