mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 10:21:26 +01:00
Update PSurfaceAWT.java
This commit is contained in:
@@ -422,7 +422,9 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
//frame.setVisible(true); // re-add native resources
|
||||
}
|
||||
*/
|
||||
frame.setLayout(null);
|
||||
// Solves #862 - Grey/White bar on right side of sketches
|
||||
frame.setLayout(new BoxLayout(frame.getContentPane(), BoxLayout.Y_AXIS));
|
||||
frame.pack();
|
||||
|
||||
// Need to pass back our new sketchWidth/Height here, because it may have
|
||||
// been overridden by numbers we calculated above if fullScreen and/or
|
||||
|
||||
Reference in New Issue
Block a user