Make label optional for checkbox widget
This commit is contained in:
parent
a2d052982b
commit
0d2aa41dee
15 changed files with 87 additions and 58 deletions
|
|
@ -162,7 +162,9 @@ fn view_controls<'a>(
|
|||
row![
|
||||
playback_controls,
|
||||
speed_controls,
|
||||
checkbox("Grid", is_grid_enabled).on_toggle(Message::ToggleGrid),
|
||||
checkbox(is_grid_enabled)
|
||||
.label("Grid")
|
||||
.on_toggle(Message::ToggleGrid),
|
||||
row![
|
||||
pick_list(preset::ALL, Some(preset), Message::PresetPicked),
|
||||
button("Clear")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue