Hi, I use DockLayoutPanel with Google maps and there is a known issue
where any component inside a DockLayoutPanel that depends on the size
of its container must be initialized like this:

root.animate(0, new AnimationCallback()
{
  public void onLayout(Layer layer, double progress)
  {
  }

  public void onAnimationComplete()
  {
      // init internal widget
  }
}

I was thinking it might be more obvious to include a handler after the
layout is complete?

addLayoutCompleteHandler()?

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

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this 
email with the words "REMOVE ME" as the subject.

Reply via email to