Add Background widget

This commit is contained in:
Joscha 2023-02-16 16:26:47 +01:00
parent b327dee3c3
commit 3f7e985b3f
4 changed files with 80 additions and 1 deletions

View file

@ -18,6 +18,8 @@ fn widget() -> impl Widget<Infallible> {
.border()
.look(BorderLook::LINE_DOUBLE)
.style(ContentStyle::default().dark_red())
.background()
.style(ContentStyle::default().on_dark_yellow())
.float()
.all(0.5)
}