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

Add anchors to windows and areas (#310)

This is so that you can put a window in e.g. the top right corner
or the center of the screen.
This commit is contained in:
Emil Ernerfeldt
2021-04-18 10:01:41 +02:00
committed by GitHub
parent 5667e7eb51
commit 580d27e0d3
6 changed files with 220 additions and 56 deletions

View File

@@ -8,14 +8,15 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
## Unreleased
### Added ⭐
* Add anchors to windows and areas so you can put a window in e.g. the top right corner.
* Make labels interactive with `Label::sense(Sense::click())`.
* Add `Response::request_focus` and `Response::surrender_focus`.
### Changed 🔧
* Make `Memory::has_focus` public (again)
* Make `Memory::has_focus` public (again).
### Fixed 🐛
* Fix [defocus-bug on touch screens](https://github.com/emilk/egui/issues/288)
* Fix [defocus-bug on touch screens](https://github.com/emilk/egui/issues/288).
## 0.11.0 - 2021-04-05 - Optimization, screen reader & new layout logic