tuix 0.2.0

Cross-platform GUI toolkit
Documentation
use tuix::*;

// A button styled with 'inline' styling

fn main() {
    let app = Application::new(
        WindowDescription::new().with_title("Inline Styling"),
        |state, window| {

        Button::with_label("Button").build(state, window.entity(), |builder| {
            builder
                .set_width(Pixels(100.0))
                .set_height(Pixels(30.0))
                .set_background_color(Color::from("#ff5e1a"))
                .set_child_space(Stretch(1.0))
        });
    });

    app.run();
}