mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
BrowserWindowOptions is not setting Width and Height properly #457
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sachin-devitpl on GitHub (Feb 13, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
I have tried to set the exact Width and Height of the window from BrowserWindowOptions in the Startup.cs but it is not setting it properly. I have set like this -
but it is setting 1294 x 727 pixel
If I am not using
Frame = falsethen it is generating proper output 1280 x 720 px but I think there is some issue with using both of this parameters.@sachin-devitpl commented on GitHub (Feb 13, 2020):
Temporary work around is setting Max Width & Max Height
@GregorBiswanger commented on GitHub (Apr 19, 2020):
Fixed with the new Electron.NET Version 8.31.1.