lucianobroussal / gwtwindowmanager

Automatically exported from code.google.com/p/gwtwindowmanager
0 stars 0 forks source link

GwmUtilities Frame Centering Methods #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Frame
2. Use the GwmUtilities display (diplay) methods to center the frame
3. Make the Frame Visible

What is the expected output? What do you see instead?
Expected output should be the Frame in the center of the user's visible 
window (ie. viewport), but centering calculation does not account for 
scrolling.

What version of the product are you using? On what operating system?
GWM 0.6.6 with GWT 1.4.61 on XP with IE, FF, and GWT Browser

Please provide any additional information below.
 Appropriate Code Modification is  "+ Window.getScrollTop()" and "+ 
Window.getScrollLeft()" to frame positioning calculations in appropriate 
methods.

P.S. Missing 's' in two of those methods' names had me going for a while 
as well. :)

Original issue reported on code.google.com by jcric...@gmail.com on 21 Dec 2007 at 4:11