>
> Now, my initial instinct is to somehow try and determine whether or  not 
> the FlowPanel needs to vertically resize (how do I determine this?  Can it 
> be determined?) and then use DockLayoutPanel.setWidgetSize to perform the 
> resizing "manually". 

 
Sounds like a good approach. On the bottom flow panel, you can use 
element.getScrollHeight()<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/dom/client/Element.html#getScrollHeight()>
 and 
either getOffsetHeight or getClientHeight(I can't remember, sorry), to 
determine if you need to expand the flow panel. You should check this when 
the window is resized or when an item is added. When the scroll height is 
larger than the offset/client height, use DockLayoutPanel.setWidgetSize to 
resize the panel.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/J8O2dRgN6toJ.
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