From 5de0d9c3cc2d6debc240a3ae6125a74ddb35090e Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 15 Jul 2024 14:21:15 -0400 Subject: [PATCH] refactor: use default word wrapping --- src/widget/cosmic_toggler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/cosmic_toggler.rs b/src/widget/cosmic_toggler.rs index 01248b4..a94d226 100644 --- a/src/widget/cosmic_toggler.rs +++ b/src/widget/cosmic_toggler.rs @@ -185,6 +185,7 @@ where self.text_alignment, alignment::Vertical::Top, self.text_shaping, + cosmic::iced_core::text::Wrap::default(), ); match self.width { Length::Fill => {