mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
08bf1a6c2e
# Objective - Simplify API and make authoring styles easier See: https://github.com/bevyengine/bevy/issues/8540#issuecomment-1536177102 ## Solution - The `size`, `min_size`, `max_size`, and `gap` properties have been replaced by `width`, `height`, `min_width`, `min_height`, `max_width`, `max_height`, `row_gap`, and `column_gap` properties --- ## Changelog - Flattened `Style` properties that have a `Size` value directly into `Style` ## Migration Guide - The `size`, `min_size`, `max_size`, and `gap` properties have been replaced by the `width`, `height`, `min_width`, `min_height`, `max_width`, `max_height`, `row_gap`, and `column_gap` properties. Use the new properties instead. --------- Co-authored-by: ickshonpe <david.curthoys@googlemail.com> |
||
---|---|---|
.. | ||
clear_color.rs | ||
low_power.rs | ||
multiple_windows.rs | ||
scale_factor_override.rs | ||
screenshot.rs | ||
transparent_window.rs | ||
window_resizing.rs | ||
window_settings.rs |