Crate bevy_mod_stylebuilder
source ·Structs§
- Struct that holds the properties for text rendering, which can be inherited. This allows setting for font face, size and color to be established at a parent level and inherited by child text elements.
- An object that provides a fluent interface for defining styles for bevy_ui nodes. Most components such as
BackgroundColor
are mutated immediately, however some component types such asStyle
are cached in the builder and not applied untilfinish
is called. - A system set that includes any systems that run dynamic style computations. These will generally run after the UI nodes have been updated.
- Wrapper type that allows
StyleTuple
s to be passed from parent to child views. - A marker component that is used to indicate that the text entity wants to opt-in to using inherited text styles.
Traits§
- Trait that represents an optional float
- Trait that represents border radius
- Trait that represents a CSS color
- Trait that represents a CSS “length”
- Trait that represents an optional float
StyleTuple
- a variable-length tuple ofStyleHandle
s.- Trait that represents CSS edge widths (margin, padding, etc.)
- Trait that represents a CSS Z-index