Introduce support for disabling a checkbox
This commit is contained in:
parent
b95f3ab12f
commit
b5f1ca1695
14 changed files with 166 additions and 85 deletions
|
|
@ -75,11 +75,8 @@ impl Sandbox for VectorialText {
|
|||
column![
|
||||
canvas(&self.state).width(Length::Fill).height(Length::Fill),
|
||||
column![
|
||||
checkbox(
|
||||
"Use Japanese",
|
||||
self.state.use_japanese,
|
||||
Message::ToggleJapanese
|
||||
),
|
||||
checkbox("Use Japanese", self.state.use_japanese,)
|
||||
.on_toggle(Message::ToggleJapanese),
|
||||
row![
|
||||
slider_with_label(
|
||||
"Size",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue