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

auto-shrink ScrollArea to content size

Unless the user disables it with `ScollArea::auto_shrink([false; 2])`.
This commit is contained in:
Emil Ernerfeldt
2021-10-06 23:48:09 +02:00
parent a1bf5aff47
commit ce8d863249
3 changed files with 60 additions and 50 deletions

View File

@@ -25,6 +25,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md), [`eg
* MSRV (Minimum Supported Rust Version) is now `1.54.0`.
* By default, `DragValue`:s no longer show a tooltip when hovered. Change with `Style::explanation_tooltips`.
* Smaller and nicer color picker.
* `ScrollArea` will auto-shrink to content size unless told otherwise using `ScollArea::auto_shrink`.
### Fixed 🐛
* Fix wrongly sized multiline `TextEdit` in justified layouts.