BUG:win.setPosition('center') Invalid!
BUG:win.setPosition('center') Invalid! Hope that as soon as possible to repair!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
What's your OS version?
win7 64
Sorry my English is bad. All my words are translated. I hope you can understand.
var gui = require('nw.gui');var win = gui.Window.get();win.resizeTo(1020, 700);win.moveBy(100, 0);
The above can be run
Only the following can not run
win.setPosition('center')
I also appeared such problems
Hope to solve this problem, I also met!
Duplicate of #1805
This should be working with latest version now.
In 0.13 we changed to an optimized architecture so more features can be supported, see http://nwjs.io/blog/whats-new-in-0.13/ and it's good for keeping up with Chromium upstream -- we released with Node.js v6.0 and new Chromium versions within 1 day after upstream release.
The new version would fixed many issues reported here and we're scrubbing them. This issue is closed as we believe it should be fixed. Please leave a message if it isn't and we'll reopen it.