bevy/examples/window
Nico Burns 08bf1a6c2e
Flatten UI Style properties that use Size + remove Size (#8548)
# 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>
2023-05-16 01:36:32 +00:00
..
clear_color.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
low_power.rs add a default font (#8445) 2023-04-21 22:30:18 +00:00
multiple_windows.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
scale_factor_override.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
screenshot.rs Screenshots in wasm (#8455) 2023-04-28 19:37:11 +00:00
transparent_window.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
window_resizing.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
window_settings.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00