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 -
var options = new BrowserWindowOptions
{
Frame = false,
Width = 1280,
Height = 720
};
but it is setting 1294 x 727 pixel
If I am not using Frame = false then it is generating proper output 1280 x 720 px but I think there is some issue with using both of this parameters.