bevy/crates/bevy_text/src
Yutao Yuan 954022c799 Add text wrapping support to Text2d (#4347)
# Objective

Fixes #4344.

## Solution

Add a new component `Text2dBounds` to `Text2dBundle` that specifies the maximum width and height of text. Text will wrap according to this size.
2022-03-29 23:03:20 +00:00
..
error.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00
font.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
font_atlas.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
font_atlas_set.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
font_loader.rs Add support for OTF fonts (#1200) 2021-01-03 12:10:23 -08:00
glyph_brush.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
lib.rs Add headless mode (#3439) 2022-01-08 10:39:43 +00:00
pipeline.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
text.rs Add text wrapping support to Text2d (#4347) 2022-03-29 23:03:20 +00:00
text2d.rs Add text wrapping support to Text2d (#4347) 2022-03-29 23:03:20 +00:00