1 2 3 4 5 6 7 8 9 10 11 12
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() }