I'm not sure it makes sense to make an entire DockLayoutPanel scroll,
its a LayoutPanel...

If you apply the appropriate overflow value (auto or scroll) to the
container element that you would like to scroll, the container will
scroll when the child is to big for its current size.

Example:
dockLayoutPanel.getWidgetContainerElement(flowPanel).getStyle().setOverflowY(Overflow.AUTO);

Where dockLayoutPanel is the DockLayoutPanel that you intend to
manipulate.

On Feb 9, 2:32 am, linhua <linhu...@citiz.net> wrote:
> What I want to do is:
>
> Currently, I can only add scroll panel inside the center part of
> DockLayoutPanel.
>
> I want all the parts of DockLayoutPanel share a scroll bar.
>
> If can do, how to implement a such class? Which class should I extend
> and what interfaces should be implemented?

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

Reply via email to