Friday, May 13, 2011

how to get new size when doing onResize() in SplitLayoutPanel?

Hello,

I am using GWT 2.2 SplitLayoutPanel. The user is given the option of
resizing using the vertical splitter. In the right panel, a CellTable
is inside a ScrollPanel . When i resize, the scroll panel should
automatically increase in width i.e, the scroll panel should occupy
the total space in the right side.

My Sample code is:

public class FiaDisplay<T> extends ResizeComposite implements
ProvidesResize, RequiresResize, FiaDisplayInterface<T>
{
public void onResize() {
Window.alert("resize");
}
}

How to get the new width of the panel?

I am able to get the alert on resizing but i am unable to do anything
on the page after the alert. I tried in IE7.

Thanks in Advance,
kalpana

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate