When using P2D or P3d my display window appears partially off-screen in the upper left – this even happens when using fullscreen or present mode, which do not actually fill the whole screen anymore. I have a feeling this has something to do with my windows display scaling (currently at 225% for my small laptop sceen), but I am not sure how to fix it.
There is no issues when using the default renderer so not sure what to do. Is this a bug, or something I need to adjust in my display settings or something?
Hello @dkemp ,
Try this and change x and y as required:
void setup()
{
size(300, 300, P2D);
int x = 600;
int y = 600;
surface.setLocation(x, y);
}
void draw()
{
}
Reference:
I know the scaling affects my sketch window size:
:)
Thanks that really helps a lot and solves the issue when running the sketch normally; however, I’m still getting some weird behaviors when using fullScreen(P3D); or running the sketch in “present” mode.
Also wondering if this is a bug in the latest version as none of this occurred in earlier (4.3 and earlier) versions of processing.