Make label optional for checkbox widget
This commit is contained in:
parent
a2d052982b
commit
0d2aa41dee
15 changed files with 87 additions and 58 deletions
|
|
@ -78,7 +78,8 @@ impl Gradient {
|
|||
.align_y(Center);
|
||||
|
||||
let transparency_toggle = iced::widget::Container::new(
|
||||
checkbox("Transparent window", transparent)
|
||||
checkbox(transparent)
|
||||
.label("Transparent window")
|
||||
.on_toggle(Message::TransparentToggled),
|
||||
)
|
||||
.padding(8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue