This is a follow-up thread from this one: https://www.scirra.com/forum/viewtopic.php?f=152&t=178871&p=1052734#p1052734
The problem is the same; a black border shows up around the game when changing the "Fullscreen in browser" option to "Off", "Letterbox scale" or "Letterbox integer scale" but now it's only AFTER exporting. When previewing in Construct 2 the game shows up perfectly without borders which is the result you would expect.
Attach a Capx
https://www.dropbox.com/s/cfu6s9i89m570 ... rnwjs.capx
Description of Capx
The project is a new retro style project with the "Fullscreen in browser" setting changed to "Letterbox integer scale", export with NW.js to see the black borders.
Steps to Reproduce Bug
- Change "Fullscreen in browser" option to "Off", "Letterbox scale" or "Letterbox integer scale".
- Export the game with NW.js (with only the "Window frame" option selected) and run
There is black borders around the game after export (or shows extra pixels if the Fullscreen option is set to another option).
The game should look the same as when you're previewing in Construct 2 after export.
Operating System and Service Pack
NWJS for Construct 2 v0.16.0
Construct 2 Version ID