From 7318ea3ba3ebf468d0f572d41ebeed97dcf9deff Mon Sep 17 00:00:00 2001 From: Christian Friedow Date: Mon, 15 Apr 2024 15:17:30 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20enable=20font-fallack=20for=20entri?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/component/entry.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/component/entry.rs b/client/src/component/entry.rs index c7cce95..dc50493 100644 --- a/client/src/component/entry.rs +++ b/client/src/component/entry.rs @@ -3,7 +3,8 @@ pub fn view(entry: &crate::model::Entry, active: bool) -> iced::Element<'static, iced::widget::row![ iced::widget::text(clipped_title(entry.title.clone())) .size(1. * crate::REM) - .width(iced::Length::Fill), + .width(iced::Length::Fill) + .shaping(iced::widget::text::Shaping::Advanced), iced::widget::text(if active { &entry.action } else { "" }).size(1. * crate::REM) ] .padding(0.5 * crate::REM),