Expand description
This module contains the basic building blocks of Bevy’s UI
Structs
- Marker struct for buttons
- Used to calculate the size of UI image nodes
- Marker struct for labels
- Text system flags
- The size of the image’s texture
Functions
- Updates the layout and size information for a UI text node on changes to the size value of its
Node
component, or when theneeds_recompute
field ofTextFlags
is set to true. This information is computed by theTextPipeline
and then stored inTextLayoutInfo
. - Updates content size of the node based on the image provided