feat: ellipsize text (#1132)
This commit is contained in:
parent
1f6086e5ea
commit
b9bd773940
7 changed files with 20 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue