In new release processing 4.1.1,
The size(displaywidth, displayheight), this no longer work. It flags error.
and when I use fullscreen() function. The close and maximize/minimize buttons will overshoot the screen.
But I used it in previous 4.0.2rc version to set my screen size and it was very okay.
Please, help with solution to this.
Take a look at the references:
I did try it, I got redefined error.
println(displayWidth, displayHeight); // Bonus!
size(displayWidth, displayHeight); // works here!
//size(displayWidth, displayHeight); //gives an error!
I do not know what has change between versions and used my experience and experimented a bit.
Does this work at your end?
This worked with:
- W10 Processing 3.5.4 and 4.1.1
- Ubuntu 22.04.1 LTS Processing 4.1.1 in a VMWare VM
Sorry, just seeing your reply, I took a walk out this evening.
It is 2:30am, taking some rest, will test that in first thing in morning are update you.
My screen resolution printed (1600, 900)
Got same error again.
size cannot be use here.
settings is throwing error " duplicate method"
What operating system are you using?
Which version of Processing?
Please share a minimal, reproduceable example to demonstrate the problem.
Please format the code that you are going to post:
Works as expected on System76 Linux system with Processing 4.1.1.
Works with Processing 4.1.1 on macOS 13.0.1 too