Apply wrapping to paragraphs
This commit is contained in:
parent
e722c4ee4f
commit
664caf7087
1 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,8 @@ impl core::text::Paragraph for Paragraph {
|
||||||
Some(text.bounds.height),
|
Some(text.bounds.height),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
buffer.set_wrap(font_system.raw(), text::to_wrap(text.wrapping));
|
||||||
|
|
||||||
buffer.set_text(
|
buffer.set_text(
|
||||||
font_system.raw(),
|
font_system.raw(),
|
||||||
text.content,
|
text.content,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue