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

ui.label now take impl ToString as argument, not impl Into<Label>

This commit is contained in:
Emil Ernerfeldt
2021-10-18 21:09:44 +02:00
parent ebd2c859ac
commit 9f1a5dcb33
4 changed files with 18 additions and 21 deletions

View File

@@ -30,6 +30,7 @@ NOTE: [`epaint`](epaint/CHANGELOG.md), [`eframe`](eframe/CHANGELOG.md), [`egui_w
* `ScrollArea` will auto-shrink to content size unless told otherwise using `ScollArea::auto_shrink`.
* By default, `Slider`'s `clamp_to_range` is set to true.
* Rename `TextEdit::enabled` to `TextEdit::interactive`.
* `ui.label` (and friends) now take `impl ToString` as argument instead of `impl Into<Label>`.
### Fixed 🐛
* Fix wrongly sized multiline `TextEdit` in justified layouts.