From 53c8e30f4ec5d989f29bb9828bb5e4d1742f2610 Mon Sep 17 00:00:00 2001 From: Crauzer <18646077+Crauzer@users.noreply.github.com> Date: Wed, 1 Mar 2023 19:44:29 +0100 Subject: [PATCH] fix window size --- lol2gltf/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lol2gltf/Program.cs b/lol2gltf/Program.cs index 27af098..1ee68f4 100644 --- a/lol2gltf/Program.cs +++ b/lol2gltf/Program.cs @@ -30,8 +30,7 @@ static void Main(string[] args) PhotinoBlazorApp app = builder.Build(); // customize window - app.MainWindow.UseOsDefaultSize = false; - app.MainWindow.SetIconFile("favicon.ico").SetTitle("lol2gltf").Center().SetWidth(1600).SetHeight(1100); + app.MainWindow.SetIconFile("favicon.ico").SetTitle("lol2gltf").Center().SetUseOsDefaultSize(true); #if DEBUG app.MainWindow.SetDevToolsEnabled(true);