bevy/crates/bevy_ui/src
ickshonpe 78a4bea3d7
Move ContentSize requirements from Node to the widget defining components (#16083)
# Objective

Missed this in the required components PR review. `ContentSize` isn't
used by regular UI nodes, only those with intrinsically sized content
that needs a measure func.

## Solution

Remove `ContentSize` from `Node`'s required components and add it to the
required components of `Text` and `UiImage`.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-10-27 22:39:32 +00:00
..
experimental Migrate UI bundles to required components (#15898) 2024-10-17 21:11:02 +00:00
layout Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-23 20:05:28 +00:00
render Move UiImage from ui_node to the widget::image module (#16084) 2024-10-27 19:14:46 +00:00
widget Move ContentSize requirements from Node to the widget defining components (#16083) 2024-10-27 22:39:32 +00:00
accessibility.rs Move UiImage from ui_node to the widget::image module (#16084) 2024-10-27 19:14:46 +00:00
focus.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
geometry.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
lib.rs Move UiImage from ui_node to the widget::image module (#16084) 2024-10-27 19:14:46 +00:00
measurement.rs Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-23 20:05:28 +00:00
node_bundles.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
picking_backend.rs Fix bevy_picking plugin suffixes (#16082) 2024-10-25 20:11:51 +00:00
stack.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
ui_material.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
ui_node.rs Move ContentSize requirements from Node to the widget defining components (#16083) 2024-10-27 22:39:32 +00:00
update.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00