feat: ellipsize text (#1132)

This commit is contained in:
Hojjat Abdollahi 2026-02-19 10:06:45 -07:00 committed by GitHub
parent 1f6086e5ea
commit b9bd773940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 2 deletions

View file

@ -594,6 +594,7 @@ where
vertical_alignment: alignment::Vertical::Center,
shaping: text::Shaping::Advanced,
wrapping: text::Wrapping::default(),
ellipsize: text::Ellipsize::default(),
},
bounds.position(),
color,
@ -643,6 +644,7 @@ where
vertical_alignment: alignment::Vertical::Center,
shaping: text::Shaping::Advanced,
wrapping: text::Wrapping::default(),
ellipsize: text::Ellipsize::default(),
},
bounds.position(),
appearance.description_color,