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

Simplify how fonts are defined in FontDefinitions

This commit is contained in:
Emil Ernerfeldt
2020-12-13 19:19:57 +01:00
parent 5880c95158
commit b7d1584f44
5 changed files with 104 additions and 80 deletions

View File

@@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed 🔧
* Changed default font to [Ubuntu-Light](https://fonts.google.com/specimen/Ubuntu).
* Changed how to override fonts in `FontDefinitions`.
* Remove minimum button width
* Refactored `egui::Layout` substantially, changing its interface.
* Calling `on_hover_text`/`on_hover_ui` multiple times will stack tooltips underneath the previous ones.