From 403d2eca99aa79cd22f87baef7b66c43d6accfa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Wed, 1 Nov 2023 06:20:13 +0100 Subject: [PATCH] Use `base_style` for checkboxs --- src/views/svg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/svg.rs b/src/views/svg.rs index 8e54674d..64eae416 100644 --- a/src/views/svg.rs +++ b/src/views/svg.rs @@ -40,7 +40,7 @@ pub fn checkbox(checked: crate::reactive::ReadSignal) -> Svg { let svg_str = move || if checked.get() { CHECKBOX_SVG } else { "" }.to_string(); svg(svg_str) - .style(|base| { + .base_style(|base| { base.width(20.) .height(20.) .border_color(Color::BLACK)