Is it possible to make my app always 100% width and height?
5 views
Skip to first unread message
Paul Anthony Webb
unread,
Aug 27, 2014, 7:04:23 PM8/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Right now, whenever I reload my app with Cmd+R, it reloads (expected) but also changes the window size to what is set in package.json. I am using nw.win.reload() to allow this to happen. Can I just make the window contents reload, without changing window dimensions?
super...@gmail.com
unread,
Aug 29, 2014, 9:43:30 PM8/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Just use
Window.enterFullscreen()
//or
Window.maximize()
after reload.
Paul Anthony Webb
unread,
Aug 30, 2014, 8:50:54 AM8/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com, super...@gmail.com
What happens if my window is resized? Maximizing wouldn't be ideal option.
super...@gmail.com
unread,
Aug 30, 2014, 9:22:37 AM8/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message