[Settings, OOBE] set location to center screen (#10022)

and ensure the window is inside the screen work area
This commit is contained in:
Enrico Giordani
2021-03-04 17:58:01 +01:00
committed by GitHub
parent f7e2fa5263
commit 8f3e0517ca
5 changed files with 85 additions and 15 deletions

View File

@@ -26,6 +26,9 @@ namespace PowerToys.Settings
bootTime.Start();
this.InitializeComponent();
Utils.FitToScreen(this);
bootTime.Stop();
PowerToysTelemetry.Log.WriteEvent(new SettingsBootEvent() { BootTimeMs = bootTime.ElapsedMilliseconds });