Less redundancy and improve fullscreen in examples

Remove examples/minimize which is redundant
This commit is contained in:
Diggory Hardy 2022-07-01 12:07:10 +01:00 committed by GitHub
parent 8646cbc9f5
commit c55d97183d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 148 deletions

View file

@ -16,7 +16,9 @@ fn main() {
let window = WindowBuilder::new()
.with_title("Hit space to toggle resizability.")
.with_inner_size(LogicalSize::new(400.0, 200.0))
.with_inner_size(LogicalSize::new(600.0, 300.0))
.with_min_inner_size(LogicalSize::new(400.0, 200.0))
.with_max_inner_size(LogicalSize::new(800.0, 400.0))
.with_resizable(resizable)
.build(&event_loop)
.unwrap();