How to set 100% width and 100% height #308

zycbob opened this Issue Jan 4, 2013 · 2 comments


None yet

3 participants


when initial width/height of the main window, is there a way to set 100% width and 100% height (height works for now in windows)
thank you.


window.resizeTo(window.screen.width, window.screen.height);

@rogerwang rogerwang closed this Dec 30, 2013

That's, most likely, require('nw.gui').Window.get().maximize().

For future references,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment