egui/crates
Emil Ernerfeldt 3805584238
Fix bug causing tooltips with dynamic content to shrink (#5168)
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);
     // …
 });
```
2024-09-25 18:50:14 +02:00
..
ecolor Add `DebugOptions::show_unaligned` (#5165) 2024-09-25 16:05:30 +02:00
eframe Wgpu render pass on paint callback has now static lifetime (#5149) 2024-09-23 11:48:09 +02:00
egui Fix bug causing tooltips with dynamic content to shrink (#5168) 2024-09-25 18:50:14 +02:00
egui-wgpu Wgpu render pass on paint callback has now static lifetime (#5149) 2024-09-23 11:48:09 +02:00
egui-winit Keep track of why `request_discard` was called (#5134) 2024-09-20 09:17:52 +02:00
egui_demo_app Wgpu render pass on paint callback has now static lifetime (#5149) 2024-09-23 11:48:09 +02:00
egui_demo_lib Fix pan_zoom demo constraining windows (#5137) 2024-09-22 19:13:01 +02:00
egui_extras Fix some minor clippy lints from the future 2024-09-18 09:44:23 +02:00
egui_glow Add support for mipmap textures. (#5146) 2024-09-22 19:16:16 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Use `log` crate instead of `eprintln` & remove some unwraps (#5010) 2024-09-13 14:23:13 +02:00
epaint Prevent text shrinking in tooltips; round wrap-width to integer (#5161) 2024-09-25 11:31:41 +02:00
epaint_default_fonts Enable rustdoc `generate-link-to-definition` feature on docs.rs (#5030) 2024-08-30 11:22:29 +02:00