I have a Chrome app that has a defined window size of 1280x720 (the app loads in remote content that is set to these dimensions)
I am using the following code in my background.js file (name in the manifest):
chrome.app.window.create('index.html', {
'bounds': {
'width': 1280,
'height': 720
}
});
However, when running the app on a large TV (via a ChromeBox) in kiosk mode, there is space on the right and bottom, due to the app not scaling/zooming.
How can I get my app to fill the full screen, without changing the TV resolution (as this is only available on certain sets)?
I also tried adding "state":"fullscreen" to the background.js script (above) and this worked on my PC in the Chrome browser, but did not work on ChromeOS for whatever reason.