From 9eb4a16495921ef65e3fb27277e64e8e9b7b2fd1 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Fri, 28 Nov 2025 12:19:51 +0100 Subject: chore: update as necessary for upstream iced changes --- examples/styling.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/styling.rs') diff --git a/examples/styling.rs b/examples/styling.rs index 4ed643e..37a613d 100644 --- a/examples/styling.rs +++ b/examples/styling.rs @@ -118,7 +118,8 @@ impl Styling { .width(Fill) .into() }, - checkbox("Use system theme", self.system_theme) + checkbox(self.system_theme) + .label("Use system theme") .on_toggle(Message::SystemTheme) ] .spacing(10) @@ -153,10 +154,12 @@ impl Styling { column!["Scroll me!", space::vertical().height(800), "You did it!"] .padding(10), ) + .auto_scroll(true) .width(Fill) .height(100); - let checkbox = checkbox("Check me!", self.checkbox_value) + let checkbox = checkbox(self.checkbox_value) + .label("Check me!") .on_toggle(Message::CheckboxToggled); let toggler = toggler(self.toggler_value) -- cgit v1.2.3