Skip to content

Window sizes wrong (height min/max) #5407

Open
@AndryBray

Description

@AndryBray

nwjs 0.18.2 - macOs / Windows

If I try to open a new window with these options, the size (min/max) is not respected (height will be 768 - but it's the max value, not default value)

nw.Window.open('https://www.google.com/', {
           "frame": true,
            "position": "center",
            "kiosk" : false,
            "fullscreen" : false,
            "show": true,
            "focus": true,
            //"toolbar": false,
            "resizable": false,
            "icon": "icon.png",
            "width": 1024,
            "height": 700,  // <--- this is not respected
            "min_width": 1024,
            "min_height": 700,
            "max_width": 1024,
            "max_height": 768 //<--- window will have 768 as default (not as max)
        })

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions