Hi mariyan,
Did you manage to resolve this issue? I see the exact same behaviour
on my application - the popup is not centered for the first time only,
and afterwards popup.center() works fine. I am using GWT 2.0.3. Here
is some sample code - I really can't see why this is happening.
Thanks in advance.

public class LoginForm extends PopupPanel {
        public LoginForm(){
                this.setStyleName("bwPopupPanel");
                this.setGlassEnabled(true);
                this.add(new LoginFields()); //LoginFields is a class defined 
using
UIBinder to position the layout contained in the popup
                this.center();
        }
}

//..........Different class..........
        private void showLoginPopUp() {
                @SuppressWarnings("unused")
                LoginForm loginPanel = new LoginForm();
        }


On Mar 12, 5:07 pm, Jim Douglas <[email protected]> wrote:
> Have you reviewed the sample -- with detailed comments -- near the top
> of the javadoc page?
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
>
> On Mar 12, 7:13 am, mariyan nenchev <[email protected]> wrote:
>
> > Well i am setting pixel size on the Panel inside the popup
>
>

-- 
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.

Reply via email to