try to set the pixel size of the popup before centering it. popup.setPixelSize(width, height);
On Fri, Mar 12, 2010 at 5:04 PM, mariyan nenchev <[email protected]>wrote: > Hi, > > I use gwt popup to show some messages, but it is not displayed in the > center of the display event if i call popup.center(). Actually it is not > centered only the first time, if i close it and open it again every thing is > ok, but not the first time. How to fix that? > > Regards. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
