diff options
author | 2024-10-04 21:14:06 +0300 | |
---|---|---|
committer | 2024-10-04 21:14:06 +0300 | |
commit | 13c649881edfda9ab0215c7353a5236e07ef749d (patch) | |
tree | c6b70f1c4262d69d227986f2674a4cfc4f379699 /winit | |
parent | c217500a5abd1fbfc1e598fb98dadd3ee85d8a51 (diff) | |
download | iced-13c649881edfda9ab0215c7353a5236e07ef749d.tar.gz iced-13c649881edfda9ab0215c7353a5236e07ef749d.tar.bz2 iced-13c649881edfda9ab0215c7353a5236e07ef749d.zip |
Add `window::Settings::maximized`
Corresponds to `winit::window::WindowAttributes::with_maximized`
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/conversion.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winit/src/conversion.rs b/winit/src/conversion.rs index 5d0f8348..e0b0569b 100644 --- a/winit/src/conversion.rs +++ b/winit/src/conversion.rs @@ -23,6 +23,7 @@ pub fn window_attributes( width: settings.size.width, height: settings.size.height, }) + .with_maximized(settings.maximized) .with_resizable(settings.resizable) .with_enabled_buttons(if settings.resizable { winit::window::WindowButtons::all() |