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 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+unsubscr...@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.