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

Panels: Added Context::panel_left and panel_top

Context will keep track of the avilable space left after panels.
Windows will be constrained to that available space.
So add panels first, THEN add windows.
This commit is contained in:
Emil Ernerfeldt
2020-10-21 18:05:36 +02:00
parent 15c5e0b04d
commit 8b51ae5dea
9 changed files with 188 additions and 62 deletions

View File

@@ -7,6 +7,7 @@
* Refactored the interface for `egui::app::App`
* Demo App: Add slider to scale all of Egui
* Windows are now constrained to the screen
* Panels: you can now add side panels using `Context::panel_left` and `Context::panel_top`.
* Fix a bug where some regions would slowly grow for non-integral scales (`pixels_per_point`).
## 0.2.0 - 2020-10-10