Re: Keeping Dialog Boxes Centered after Window Events

2010-03-12 Thread Patrick Tucker
Thanks for your input. My problem still is not solved. Adding the recommended code forces the glass to be removed. So, I am now able to see that the DialogBox can not be moved by the normal Caption mouse handlers. Also, my Window handlers still do not work. On the + side, the glass panel is

Keeping Dialog Boxes Centered after Window Events

2010-03-11 Thread Patrick Tucker
I have extended GWT's DialogBox in an attempt to make it capable of staying centered in the browser window. I added the following code to the show method: super.show(); if (rReg == null) rReg = Window.addResizeHandler(this); if (sReg == null) sReg =

Re: Keeping Dialog Boxes Centered after Window Events

2010-03-11 Thread mmoossen
Hi, patrick! i think your problem is just this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=4720can=4 i had a very similar setup and using the recommended patch did solve all my problems. HTH Michael On Mar 11, 6:37 pm, Patrick Tucker tucker...@gmail.com wrote: I have