mirror of
https://github.com/danbulant/cushy
synced 2026-05-19 04:08:38 +00:00
12 lines
279 B
Rust
12 lines
279 B
Rust
use cushy::styles::Color;
|
|
use cushy::widget::MakeWidget;
|
|
use cushy::widgets::Space;
|
|
use cushy::Run;
|
|
|
|
fn main() -> cushy::Result {
|
|
Space::colored(Color::RED)
|
|
.and("Layers stack widgets on top of each other")
|
|
.into_layers()
|
|
.centered()
|
|
.run()
|
|
}
|