Wednesday, July 25, 2012

Re: Animating DockLayoutPanel widget size change

It should be as easy as calling the animate() method.

Actually, all layout changes are queued and processed by a Scheduler#scheduleFinally command. animate() will change the behavior of that command to animate the layout changes.

On Wednesday, July 25, 2012 8:40:36 PM UTC+2, Shaun Tarves wrote:
Hi -

Is there any way to animate the setting of a widget size within the DockLayoutPanel? For example, when hiding display regions, it's typical to set a particular region of the DockLayoutPanel to null, or set its size to 0.

I would like to animate the "reappearance" or "disappearance" of a widget within the DockLayoutPanel, but can't seem to figure out how.

Any ideas?

--
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/-/gTBVUic0yO8J.
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.

No comments:

Post a Comment