Skip to content

Commit

Permalink
✨ enable font-fallack for entries
Browse files Browse the repository at this point in the history
  • Loading branch information
friedow committed Apr 15, 2024
1 parent e0bc049 commit b90b31b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/component/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b90b31b

Please sign in to comment.