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
Nodecomponent, or when theneeds_recomputefield ofTextFlagsis set to true. This information is computed by theTextPipelineand then stored inTextLayoutInfo. - Updates content size of the node based on the image provided