Scale the toast window for DPI (#38198)

Ah of course, AppWindow.Resize doesn't use DIPs. Why would it? It's not like literally everything else in XAML does.

Related to half of https://github.com/zadjii-msft/PowerToys/issues/508
This commit is contained in:
Mike Griese
2025-04-03 06:44:10 -05:00
committed by GitHub
parent 7a5b25cd3e
commit d48286a3eb
2 changed files with 27 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ SetFocus
SetActiveWindow
MonitorFromWindow
GetMonitorInfo
GetDpiForMonitor
SHCreateStreamOnFileEx
CoAllowSetForegroundWindow
SHCreateStreamOnFileEx