View Full Version : How do I add animation (sliding) to the border layout panel?

29 May 2009, 6:13 PM
This is really stupid and I'm sure it is right in front of my face but I can't figure out how to have an animation when collapsing/expanding a panel in the border layout.

Basically, I want to automatically expand a preview panel but want to have it slide in so as to not confuse the user as to where it came from. Thanks.


Jose Jeria
31 May 2009, 11:25 AM
ContentPanel.setAnimCollapse(true); ?

2 Jun 2009, 5:13 AM
Thank you for the reply. I would have expected that to work as well it doesn't seem to make any difference...