egui/crates
arduano 4886c8c8c0
Max window size & other size helpers (#3537)
Was a bit confused why the max_size API isn't exposed on `Window`, when
it's perfectly functional in `Resize`. Anyway here's the main thing that
it affects:

```rs
let screen = ctx.available_rect();
let size = screen.size();

egui::Window::new(self.name())
    .resizable(true)
    .resize(|resize| resize.max_size(size)) // Before
    .max_size(size)                         // After
    .show(ctx, |ui| todo!());
```

I also added some other relevant helpers for consistency.

This PR doesn't change any logic, only forwards along some helper
functions that are already public for consistency.
2023-11-16 11:59:08 +01:00
..
ecolor Add `#[inline]` to all color-related function 2023-10-07 18:11:16 +02:00
eframe Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui Max window size & other size helpers (#3537) 2023-11-16 11:59:08 +01:00
egui-wgpu Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui-winit Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui_demo_app Add `emath::Vec2b`, replacing `egui_plot::AxisBools` (#3543) 2023-11-11 21:31:36 +01:00
egui_demo_lib Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui_extras Replace `Id::null()` with `Id::NULL` (#3544) 2023-11-11 21:40:02 +01:00
egui_glow Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00
egui_plot Replace `Id::null()` with `Id::NULL` (#3544) 2023-11-11 21:40:02 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Replace `Id::null()` with `Id::NULL` (#3544) 2023-11-11 21:40:02 +01:00
epaint Multiple viewports/windows (#3172) 2023-11-16 11:25:05 +01:00