Make text wrap configurable

This commit is contained in:
Jeremy Soller 2024-07-08 20:44:03 -06:00
parent 48f5966eaf
commit c9a2265ab1
7 changed files with 21 additions and 2 deletions

View file

@ -595,6 +595,7 @@ where
horizontal_alignment: alignment::Horizontal::Left,
vertical_alignment: alignment::Vertical::Center,
shaping: text::Shaping::Advanced,
wrap: text::Wrap::default(),
},
bounds.position(),
color,
@ -643,6 +644,7 @@ where
horizontal_alignment: alignment::Horizontal::Center,
vertical_alignment: alignment::Vertical::Center,
shaping: text::Shaping::Advanced,
wrap: text::Wrap::default(),
},
bounds.position(),
appearance.description_color,