processing / p5.js-editor

Deprecated desktop editor for p5.js
https://p5js.org
MIT License
338 stars 91 forks source link

Editor window too large for 12-inch screens #169

Open lmccart opened 8 years ago

lmccart commented 8 years ago

The default editor window size extends below the screen of a 12" macbook air or 11" windows laptop. This makes it hard to get to the console pane when it's at the bottom. Perhaps the default size could be smaller?

repost from @tigoe https://github.com/processing/p5.js/issues/963

tigoe commented 8 years ago

I found that by modifying lines 701 and 702 of the main.js in app.nw as follows, I got something that worked:

    width: 924,
    height: 668,
antiboredom commented 8 years ago

I think we just need to check the size of the screen and then shrink the window as needed...