我正在使用 NWJS 开发桌面应用程序。当我尝试最大化窗口时遇到问题。该按钮显示为禁用,因此我无法最大化窗口,只能让我关闭并最小化窗口。
那是我的 package.json:
{
"name": "APP",
"main": "index.html",
"icon": "icon.png",
"version": "0.0.1",
"window": {
"title": "APP",
"icon": "icon.png",
"toolbar": false,
"resizable": true,
"frame": true,
"fullscreen": false,
"width": 1280,
"height": 1024,
"min_width": 360,
"min_height": 640,
"max_width": 1920,
"max_height": 1080,
"position": "center"
}
}
任何人都可以帮助我吗?它很感激。谢谢!