From dd973b3ced4b6cf784c78a1c36f1526dfbfbfa19 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 => {