The short answer is, just extend the Pod and PodLayoutManager classes to support these new view states. The long answer, would be to code it for you...
Are you looking for someone to code it for you? If not, what specific issues did you run into when trying to extend these classes?
Thanks for taking time to answer my issue.
We are able to extend the pod to support the different states that we want (collapse, maximize width, minimize height etc..), but we are running in to problems while readjusting all the pods in the dashboard after a pod is either collapsed or re-sized.
Imagine a situation where you have two widgets occupying entire first row. (each having 1/2 width of the dashboard).
Four widgets occupying the second row
That is, below the widget (1,1) we will have two widgets of half the width (2,1) and (2,2) .
When I collapse the 1 widget in row,column (1,1) , first two widgets in row 2 which are directly below widget (1,1) should move above and when i expand the widget then they should be pushed below. As depicted in picture... This is a simple situation, but we might have many widget in different sizes and when I collpase or change the size of any widget in the dashboard the logic should handle the layout of the rest of the widgets. We are not able to get that..Will you be able to help me by sharing some code snippets for this ? ...if you don't have time to code, atleast can you give me a high level outline ?? Appreciate your help on this one...
dashbboard.jpg 62.2 K
Can't solve your immediate problem, but thought this might be of interest.
I created a tutorial on converting the Adobe Flex 3 example Dashboard application to Flex 4.
The tutorial is here:
There are links to the tutorial PDF, the converted applicaton, and the source code.
Hope this helps someone.