Can somebody please test the above centering of the popup ?
Let's confirm that it's not only me such that I can report it as a bug.
Any ideas for workarounds? (some action to trigger the correct dimensions)
- Ed

On Wed, Mar 20, 2013 at 12:42 PM, Jens <[email protected]> wrote:

> I just changed my code a bit and removed any explicit sizes on the
> PopupPanel itself. Now when adding a Label without any size or something
> else with explicit sizes everything still works as expected without using
> any deferred command.
>
> @Ed: We use LayoutPanel inside PopupPanel so either the PopupPanel or the
> LayoutPanel needs an explicit size. We choose to give the PopupPanel an
> explicit size. The size itself is in pixel (small wizards, large wizards,
> etc.) and because we want the wizard to always stay at the center of the
> screen and the wizard should always fit inside the visible browser window
> during window resizes we have to recalculate its pixel size and then
> calling center() again.
> We mainly did that for iPad compatibility so that the wizard does not have
> an odd position/size when you rotate the iPad from landscape to portrait or
> vice versa while the wizard is visible.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/RWjYAPGq9xw/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> 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.
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to