Re: canvas not filling frame
Posted by farrellf on Oct 09, 2019; 4:33am
URL: https://forum.jogamp.org/canvas-not-filling-frame-tp4040092p4040101.html
I have this same problem. I think it's related to DPI scaling in windows. With scaling set to 200%, my GLCanvas is a quarter the size it should be, and positioned in the bottom-left corner. I have not had time to try compiling the Java11 branch to see if that fixed this problem.
Even if this problem is fixed in JOGL, I wonder if we will still have problems with mouse coordinates in Java 11. The reported values get affected by DPI scaling as well, and I see no way to disable that for a specific JPanel/GLCanvas without disabling DPI-scaling for the entire program.
-Farrell