View Full Version : Fx Scale and Layout

7 Apr 2010, 7:26 AM
I have a few components within a panel. The panel uses the renderTo config option to render to a div tag with a specified width. During the render the panel and components all render to the full width of the specified div tag as I would like them to, but if I then use the Fx to scale the div tag to a new width then the components within the div tag (namely the panel and its children) remain at their previously rendered size.

I know that I can do a callback after the animation to doLayout on the panel and that makes it resize itself to the new width, but can I make it so that the panel is automatically resizing with the animation instead of resizing after the animation completes?