mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
Affects `.on_hover_text(…)` with dynamic content (i.e. content that changes over time). * Closes https://github.com/emilk/egui/issues/5167 `.on_hover_ui` with dynamic content can still hit the shrinking problem. The general solution depends on solving https://github.com/emilk/egui/issues/5138 but a work-around is to add this to your tooltips: ```diff response.on_hover_ui(|ui| { + ui.set_max_width(ui.spacing().tooltip_width); // … }); ```
GUI implementation
This is the core library crate egui. It is fully platform independent without any backend. You give the egui library input each frame (mouse pos etc), and it outputs a triangle mesh for you to paint.