View Full Version : Use Effect in Portlet Resize

10 Feb 2010, 3:07 AM
I looked at the GXT Portal example in the samples, and implemented a similar one, but I just constrained the resizing to "s", i.e you can only resize sothwards.

I was wondering how to add some kind of slide effect such that the portlet slides (or bounces) to the new size after the resize :

Portlet portlet = new Portlet();
// other code

Resizable re = new Resizable(portlet, "s");
re.addResizeListener(new ResizeListener(){

public void resizeEnd(ResizeEvent re) {
// I think this is where to do the effect
// but don't know how to do it, don't even know how to get the portlets
// new dimension
public void resizeStart(ResizeEvent re) {



Any hints ??