diff options
Diffstat (limited to 'src/newt/classes/com/jogamp')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java b/src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java index 6344ad9ca..117c1ca47 100644 --- a/src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java +++ b/src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java @@ -222,7 +222,8 @@ public class NewtCanvasSWT extends Canvas implements NativeWindowHolder, WindowC System.err.println("NewtCanvasSWT.setBounds: "+x+"/"+y+" "+width+"x"+height); } if( SWTAccessor.isOSX ) { - // Force newtChild to update its size and position (OSX only) + // Propagate the setBounds method coming from parent elements to this element + // and force newtChild to update its position (OSX only) updatePosSizeCheck(true /* updatePos */); } } |