fixed window size for chrome web app -
i have chrome web app (hosted app) , need make window not resizable.
this current manifest.json:
{ "name": "web app", "description": "description.", "version": "0.0.1", "app": { "urls": [ "*://localhost/view/main" ], "launch": { "web_url": "http://localhost/view/main", "container": "panel", "height": 645, "width": 800 } }, "icons": { "128": "favicon.png" }, "permissions": [ "unlimitedstorage", "notifications" ], "manifest_version": 2 } i can set initial size can't find way make fixed. how can do?
give maxheight,maxwidth , minheight , minwidth properties "launch" object.so can fixed window size chrome web app , make no resizable. example,
launch: { "web_url": "http://localhost/view/main", "container": "panel", "height": 645, "width": 800, "minheight":645, "minwidth":800, "maxheight":645, "maxwidth":800 }
Comments
Post a Comment