1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00
Files
egui/crates/epaint/src
Emil Ernerfeldt a3ae81cadb Add option to truncate text at wrap width (#3244)
* Add option to clip text to wrap width

* Spelling

* Better naming, and report back wether the text was elided

* Improve docstrings

* Simplify

* Fix max_rows with multiple paragraphs

* Add note

* Typos

* fix doclink

* Add `Label::elide`

* Label: show full non-elided text on hover

* Add demo of `Label::elide`

* Call it `Label::truncate`

* Clarify limitations of `break_anywhere`

* Better docstrings
2023-08-14 11:22:04 +02:00
..
2022-12-05 09:45:07 +01:00
2023-04-18 15:52:45 +02:00
2023-08-11 13:54:02 +02:00
2023-08-11 15:08:00 +02:00
2022-12-08 10:55:13 +01:00
2023-04-18 15:52:45 +02:00
2023-08-11 13:54:02 +02:00