bevy/crates/bevy_ui/src
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
..
layout Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
render Webgpu support (#8336) 2023-05-04 22:07:57 +00:00
widget Fix Node::physical_rect and add a physical_size method (#8551) 2023-05-11 18:38:01 +00:00
accessibility.rs Replace remaining uses of &T, Changed<T> with Ref in UI system queries (#8567) 2023-05-08 20:49:55 +00:00
camera_config.rs bevy_ui: Add FromReflect derives (#8495) 2023-04-26 12:17:23 +00:00
focus.rs bevy_ui: Add FromReflect derives (#8495) 2023-04-26 12:17:23 +00:00
geometry.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
lib.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
measurement.rs MeasureFunc improvements (#8402) 2023-05-01 15:40:53 +00:00
node_bundles.rs Replace the local text queues in the text systems with flags stored in a component (#8549) 2023-05-08 13:57:52 +00:00
stack.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
ui_node.rs Flatten UI Style properties that use Size + remove Size (#8548) 2023-05-16 01:36:32 +00:00
update.rs Split UI Overflow by axis (#8095) 2023-04-17 22:23:52 +00:00