mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Update minimum window size
This commit is contained in:
@@ -10,8 +10,8 @@ fn main() -> Result<(), eframe::Error> {
|
|||||||
decorated: false,
|
decorated: false,
|
||||||
// To have rounded corners we need transparency:
|
// To have rounded corners we need transparency:
|
||||||
transparent: true,
|
transparent: true,
|
||||||
min_window_size: Some(egui::vec2(320.0, 100.0)),
|
min_window_size: Some(egui::vec2(400.0, 100.0)),
|
||||||
initial_window_size: Some(egui::vec2(320.0, 240.0)),
|
initial_window_size: Some(egui::vec2(400.0, 240.0)),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
eframe::run_native(
|
eframe::run_native(
|
||||||
|
|||||||
Reference in New Issue
Block a user