1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Wrap text at dashes, punctuations or anywhere if necessary

Closes https://github.com/emilk/egui/issues/55

Supersedes https://github.com/emilk/egui/pull/104
This commit is contained in:
Emil Ernerfeldt
2021-01-31 15:53:20 +01:00
parent 17fdd3bb10
commit b647592a5a
3 changed files with 55 additions and 26 deletions

View File

@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Add `Label` methods for code, strong, strikethrough, underline and italics.
* `egui::popup::popup_below_widget`: show a popup area below another widget.
* Add `Slider::clamp_to_range(bool)`: if set, clamp the incoming and outgoing values to the slider range.
* Text will now wrap at newlines, spaces, dashes, punctuation or in the middle of a words if necessary, in that order of priority.
### Changed 🔧