We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › sketch is partially off screen
Page Index Toggle Pages: 1
sketch is partially off screen (Read 2321 times)
sketch is partially off screen
Jun 11th, 2010, 3:43pm
 
I'm working on a sketch and when I run it, it appears partially outside the screen area.  I can only see the bottom quarter of it.  I don't know how to position the sketch on the screen (I don't even know if it's possible)
Can someone help me
Re: sketch is partially off screen
Reply #1 - Jun 11th, 2010, 3:52pm
 
what system are you on ?

you can try to delete or rename the preferences.txt
it stores which sketch was loaded or where the window will appear. look at the preferences to see where it is.
Re: sketch is partially off screen
Reply #2 - Jun 12th, 2010, 2:31am
 
If you are on Windows, you can do the following:
with sketch window on focus, hit Alt+Space, Down arrow, Enter
You can now move your window with arrow keys. Enter to fix the position.
Next time you run the sketch, it will be were you moved it.
Re: sketch is partially off screen
Reply #3 - Jun 14th, 2010, 11:05am
 
thank you
Re: sketch is partially off screen
Reply #4 - Jun 14th, 2010, 11:30am
 
You can use
Code:
frame.setLocation(0, 0); 


in your setup() so it will always appear at the top left of your 1st screen Cool
Code:

void setup()
{
size(800,800)
frame.setLocation(0,0);
}
Page Index Toggle Pages: 1