mirror of
https://github.com/danbulant/cushy
synced 2026-05-19 12:19:02 +00:00
12 lines
274 B
Rust
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()
|
|
}
|