We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e722c4e + bffe572 commit f4eebf0Copy full SHA for f4eebf0
graphics/src/text/paragraph.rs
@@ -80,6 +80,8 @@ impl core::text::Paragraph for Paragraph {
80
Some(text.bounds.height),
81
);
82
83
+ buffer.set_wrap(font_system.raw(), text::to_wrap(text.wrapping));
84
+
85
buffer.set_text(
86
font_system.raw(),
87
text.content,
@@ -122,6 +124,8 @@ impl core::text::Paragraph for Paragraph {
122
124
123
125
126
127
128
129
buffer.set_rich_text(
130
131
text.content.iter().enumerate().map(|(i, span)| {
0 commit comments