mirror of
https://github.com/danbulant/cushy
synced 2026-05-24 12:28:23 +00:00
Add transparent button to buttons example
This commit is contained in:
parent
577e97908d
commit
bc83b81687
1 changed files with 7 additions and 0 deletions
|
|
@ -31,6 +31,13 @@ fn main() -> gooey::Result {
|
|||
}))
|
||||
.kind(ButtonKind::Outline),
|
||||
)
|
||||
.and(
|
||||
Button::new("Transparent Button")
|
||||
.on_click(clicked_label.with_clone(|label| {
|
||||
move |_| label.set(String::from("Clicked Transparent Button"))
|
||||
}))
|
||||
.kind(ButtonKind::Transparent),
|
||||
)
|
||||
.and(
|
||||
Button::new("Default Button")
|
||||
.on_click(clicked_label.with_clone(|label| {
|
||||
|
|
|
|||
Loading…
Reference in a new issue