From 6a1f99e99d2146217210f5b46a125973d944553f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Sat, 3 May 2025 22:29:14 +0200 Subject: [PATCH] Fix unaligned checkmark in `checkbox` --- widget/src/checkbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/checkbox.rs b/widget/src/checkbox.rs index e4f1fd06..b84e083d 100644 --- a/widget/src/checkbox.rs +++ b/widget/src/checkbox.rs @@ -421,7 +421,7 @@ where shaping: *shaping, wrapping: text::Wrapping::default(), }, - bounds.position(), + bounds.center(), style.icon_color, *viewport, );