I have a SplitLayoutPanel where one of the child components is a
FlowPanel. I've extended FlowPanel to create a ResizableFlowPanel
which implements ProvidesResize and RequiresResize, because the
FlowPanel has child components which need to Resize as well.

When dragging the splitters of the SplitLayoutPanel, how do you get
the new size of the child components? I've tried using
getOffsetWidth() and getElement().getOffsetWidth from within the
FlowPanel, and both are returning the original size, not the new size.

I verified that the onResize() is being called, for the FlowPanel as
well as the child panels. I also tried adding a border to the
FlowPanel to see if that changes while dragging the SplitLayoutPanel's
splitter, and the border does not change.

In case it matters, the FlowPanel was the last component added to the
SplitLayoutPanel.

-- 
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-tool...@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