Skip to content

BrowserWindowOptions is not setting Width and Height properly #373

@sachin-devitpl

Description

@sachin-devitpl

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions