Yes flowPanel is the object that should be scrolled when it overflows.

On Tuesday, June 4, 2013 11:29:32 AM UTC-4, Magallo wrote:

> Sorry for the question, what is 'flowPanel' in your example? Is it the 
> widget in the center of the docklayoutpanel? Or what else?
>
> On Friday, February 10, 2012 3:23:50 PM UTC+1, Patrick Tucker wrote:
>>
>> 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 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.


Reply via email to