Good Morning,
I'm looking in the nw.js documentation http://docs.nwjs.io/en/latest/References/Window/ some way to leave my screen in the upper right corner with 300x300 I found the native function that makes my window stay with 300X300 (Win.resizeTo (300, 300)) and found a native function to move the window (win.moveTo (x, y)), however I just saw in the documentation how to get the resolution of the program window, If my program initially opens with 600x400 it will return me this value using the win.width and win.height function.
I would like to know if there is a way to get the resolution of the screen of the pc and not the program, so I through the win moveTo and win resizeTo I will be able to leave my screen when triggered at 300x300 well where I want.
Thank you!
via Patrique
No comments:
Post a Comment