cushy/examples/layers.rs
Jonathan Johnson df479e983e
Renaming crate to Cushy
Refs #117
2023-12-27 19:02:59 -08:00

12 lines
274 B
Rust

use cushy::widget::MakeWidget;
use cushy::widgets::Space;
use cushy::Run;
use kludgine::Color;
fn main() -> cushy::Result {
Space::colored(Color::RED)
.and("Layers stack widgets on top of each other")
.into_layers()
.centered()
.run()
}