Add Background widget
This commit is contained in:
parent
b327dee3c3
commit
3f7e985b3f
4 changed files with 80 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue