bevy_bsml 0.14.10

A UI library to compose UI elements using simple markup language, inspired by svelte and tailwindcss
Documentation
1
2
3
4
5
6
7
8
9
10
use super::ApplyClass;
use bevy_text::Text;

pub use bevy_text::JustifyText;

impl ApplyClass<JustifyText> for Text {
    fn apply_class(&mut self, class: &JustifyText) {
        self.justify = *class;
    }
}