Module bevy::ui::widget

Expand description

This module contains the basic building blocks of Bevy’s UI

Structs

Functions

  • Creates a Measure for text nodes that allows the UI to determine the appropriate amount of space to provide for the text given the fonts, the text itself and the constraints of the layout.
  • Updates the layout and size information whenever the text or style is changed. This information is computed by the TextPipeline on insertion, then stored.
  • Updates content size of the node based on the texture atlas sprite
  • Updates content size of the node based on the image provided