mirror of https://github.com/emilk/egui.git
Browse Source
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); // … }); ```pull/5169/head
Emil Ernerfeldt
1 month ago
committed by
GitHub
2 changed files with 18 additions and 0 deletions
Loading…
Reference in new issue