Introduce support for disabling a checkbox
This commit is contained in:
parent
b95f3ab12f
commit
b5f1ca1695
14 changed files with 166 additions and 85 deletions
|
|
@ -51,11 +51,9 @@ impl Sandbox for Tiger {
|
|||
},
|
||||
);
|
||||
|
||||
let apply_color_filter = checkbox(
|
||||
"Apply a color filter",
|
||||
self.apply_color_filter,
|
||||
Message::ToggleColorFilter,
|
||||
);
|
||||
let apply_color_filter =
|
||||
checkbox("Apply a color filter", self.apply_color_filter)
|
||||
.on_toggle(Message::ToggleColorFilter);
|
||||
|
||||
container(
|
||||
column![
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue