mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
373f1eeb1e
# Objective Fix a few issues with some of the examples: * Root UI nodes have an implicit parent with `FlexDirection::Row` and `AlignItems::Stretch` set. Only a width constraint is needed to fill the viewport. Specifying ```height: Val::Percent(100.)``` is unnecessary and can cause confusing overflow behaviour. * The default for position and size constraint properties is `Val::Auto`. Setting `left: Val::Auto`, `max_height: Val::Auto`, etc does nothing. ## Solution Delete those lines. There should be no observable differences in the behaviours of any of the examples. Also changed a padding setting in the `flex_layout` example to use the `axes` helper function. |
||
---|---|---|
.. | ||
bevy_mobile_example.xcodeproj | ||
ios-src | ||
src | ||
.gitignore | ||
build_rust_deps.sh | ||
Cargo.toml | ||
Makefile |