Commit 5207e51 1 parent fed5301 commit 5207e51 Copy full SHA for 5207e51
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ All notable changes to the epaint crate will be documented in this file.
4
4
5
5
6
6
## Unreleased
7
+ * Added more text wrapping options ([ #1291 ] ( https://github.com/emilk/egui/pull/1291 ) ):
8
+ * Added ` TextWrapping ` struct containing all wrapping options.
9
+ * Added ` LayoutJob::wrap ` field containing these options.
10
+ * Moved ` LayoutJob::wrap_width ` to ` TextWrapping::max_width ` .
11
+ * Added ` TextWrapping::max_lines ` to limit amount of lines the text should have.
12
+ * Added ` TextWrapping::break_anywhere ` to control should the text break at appropriate places or not.
13
+ * Added ` TextWrapping::overflow_character ` to specify what character should be used to represent clipped text.
7
14
* Much improved font selection ([ #1154 ] ( https://github.com/emilk/egui/pull/1154 ) ):
8
15
* Replaced ` TextStyle ` with ` FontId ` which lets you pick any font size and font family.
9
16
* Replaced ` Fonts::font_image ` with ` font_image_delta ` for partial font atlas updates.
You can’t perform that action at this time.
0 commit comments