egui/crates
Emil Ernerfeldt 6b0782c96b
Improve `Frame` API to allow picking color until after adding content (#3889)
Previously the `Frame` API only supported picking colors once, and then
adding widgets.

But what if you want to add widgets first, and THEN pick the colors for
the frame? Now you can!


```rs
let frame = Frame::default().inner_margin(4.0).begin(ui);
{
    frame.content_ui.label("Inside the frame");
    frame.content_ui.label("This too");
}
let response = frame.allocate_space(ui);
if response.hovered() {
    frame.frame.stroke = Stroke::new(2.0, Color32::WHITE);
}
frame.paint(ui);
```
2024-01-25 19:59:12 +01:00
..
ecolor Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
eframe eframe: don't call `App::update` on minimized windows (#3877) 2024-01-25 10:15:38 +01:00
egui Improve `Frame` API to allow picking color until after adding content (#3889) 2024-01-25 19:59:12 +01:00
egui-wgpu `egui-wgpu`: turn off the default features of `wgpu` (#3875) 2024-01-24 09:43:40 +01:00
egui-winit `egui_winit`: Allow getting the `clipboard` and `allow_ime` state (#3724) 2024-01-23 12:49:28 +01:00
egui_demo_app Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_demo_lib Improve `Response.dragged`, `drag_started` and `clicked` (#3888) 2024-01-25 17:28:53 +01:00
egui_extras Use a selectable label for syntax-highlighted text in egui_extras 2024-01-22 14:47:58 +01:00
egui_glow Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_plot Smooth scrolling (#3884) 2024-01-24 16:40:20 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Cross-widget text select (#3870) 2024-01-24 15:45:22 +01:00
epaint Fix text selection crashes 2024-01-24 15:47:44 +01:00