Skip to content
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

bevy_ui: Implement Val::ObjectFit for width and height fields on bevy_ui::ui_node::Style #15297

Open
vveisard opened this issue Sep 19, 2024 · 0 comments
Labels
C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled

Comments

@vveisard
Copy link

What problem does this solve or what need does it fill?

It's awkward to size and position multiple child UI elements without this property.

What solution would you like?

Implement the behavior of this CSS property for width and height fields of Style. https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit

The solution you propose for the problem presented.

What alternative(s) have you considered?

Other solutions to solve and/or work around the problem presented.

@vveisard vveisard added C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

1 participant