wrong sketch window size

edited May 2014 in Using Processing

Hi folks,

I am working on an application, but I'm encountering strange behaviour. The width of the sketch window wont go more than a certain size. I use displayWidth and displayHeight to set the size, the height is fine but the width of the window shows up too small. I replaced displayWidth with 1280 (my screen width) but the result is the same. I am not sure why this happens. Any ideas?

Screen Shot 2013-11-10 at 22.11.06


  • Please share the shortest version of the code that reproduces the issue.

  • so if I do the following the sketch window size is not correct:

    void setup() {
      size(displayWidth, displayHeight); 

    Screen Shot 2013-11-10 at 22.41.11

  • Don't forget, when reporting such problem, to indicate the OS and the version of Processing you use. We can assume it is OS X (given the screenshots) and probably 2.1 (the current latest version) but it is better to give the infos rather than letting us play guess games (we can loose!). B-)

  • auris (et al), i'm running into the exact same issue. did you ever resolve this? thanks j

  • How about just downgrade to v2.0.3 for a while? L-)

  • The new version of Processing doesn't seem to have that problem

Sign In or Register to comment.