egui/crates/epaint
Emil Ernerfeldt 33a0f50f6a
Improve text truncation: always include elision character (#3366)
* Add Row::text

* Rename elide_at_width -> truncate_at_width

* Move text layout tests to own module

* Add test to check that elision character is always included

* Include elision character in more circumstances

* Append overflow character if we can't replace

* Always append … when eliding

* Add a secondary text to the text layout demo
2023-09-21 10:41:49 +02:00
..
benches Refactor: turn `ClippedShape` from struct-enum to a normal struct (#3225) 2023-08-10 14:50:11 +02:00
fonts Move all crates into a `crates` directory (#1940) 2022-08-20 10:41:49 +02:00
src Improve text truncation: always include elision character (#3366) 2023-09-21 10:41:49 +02:00
CHANGELOG.md Changelogs: document that they are updated upon release (not by users) 2023-08-09 17:12:47 +02:00
Cargo.toml Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
README.md Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00

README.md

epaint - egui paint library

Latest version Documentation unsafe forbidden MIT Apache

A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.

Made for egui.