C#C
C#14mo ago
Richard01_CZ

WPF, window doesn't open with specified resolution

I have a button in my WPF project that opens a different window. Window should be 640x480 but when it opens by pressing the button it has the resolution of 800x600. I tried to set the resolution in the window xaml and code behind before opening the window. Window only has an image which resolution is also set to 640x480.
Screenshot_297.png
Was this page helpful?