WinUIEx
WinUIEx copied to clipboard
Strange color behaviour when using 'CenterOnScreen'
Hi, thanks for the great project. Keeping me away from using nativemethods.
I noticed strange color behaviour when changing the selected theme to dark when using the CenterOnScreen extension method.
Background:
Using the lastest Template Studio for WinUI (where WinUIEx is included). Generated a clean template with the theme selector (available in settings) Using VS 2022 on Windows 11
Setting the window using: App.MainWindow.CenterOnScreen(800, 600);
Issue:
When running the default template, there're no issues, but when using the CenterOnScreen feature the colors are messed up when selecting the dark theme. See the screenshot below:
Without the CenterOnScreen:
At what point are you calling this method? Does it still happen if you delay the call?
Closing due to lack of information to repro / stale issue