I just wanted to note that a recent change to trunk should fix problems with
using the layout panel in trunk, and we'll be including it in the next
release.


On Fri, Nov 20, 2009 at 12:37 AM, jd <jdpatter...@gmail.com> wrote:

> Just wanted to update this example by noting that with the recent
> changes this workaround no longer works.  This is because the calls to
> layout() are now delayed and scheduled after the current code
> executes.  I had to do this to get the map to layout correctly:
>
>
>                root.animate(0, new AnimationCallback()
>                {
>                        public void onLayout(Layer layer, double progress)
>                        {
>                        }
>
>                        public void onAnimationComplete()
>                        {
>                                map.checkResizeAndCenter();
>                        }
>                });
>
>
> John
>
>
> On Oct 6, 2:09 am, Joel Webber <j...@google.com> wrote:
> > Thanks for letting me know about this. I'll follow up on that thread.
> >
> >
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to