Tuesday, March 19, 2013

Re: PopupPanel.center() not centering content?

An example:
Attacheded:  the FF (19,02), Chrome (24), IE (10) screenshot (I hope the attachment work).
Code:
---
final PopupPanel popup = new PopupPanel(true);
popup.setWidget(getEnsureLogin());
popup.center();
----

I am not sure if it's the browsers that changed anything.
I remember that this was like this in the past also. In my own ModalPanel class that shows a glasspanel and some other popup  (animtation) stuff, I always center in a deferred command, other wise I couldn't get it to center correctly......

What's your experience?
- Ed

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate