So here's my situation: I have a panel and inside of it I have a grid control, and another panel. They are positioned left to right.
I took the second panel (lets call it details) and i made it invisible, and width 0. In that way it is hidden from view, and the grid will expand to take up all of the available real estate. I wrote some functions that resize the details panel, and make it visible. I added an animation as well, so that when i double click the grid item, the grid will animate and shrink in width, while the details panel will grow in width, and fill in to its normal size. It all works, but I have 3 general questions. 1) The animation is not very smooth. Is there a way to add more keyframes to the resizing? Are all animations just not that smooth in flex? Is it the complexity of the objects that are changing (a datagrid and all its children, as well as a panel and the form in it) that causes it to be slow? (note that chaning the effect speed still leaves it feeling choppy, though the animation does finish faster) 2) Making the panel width 0, and invisible. I did this because when i jsut made it invisible, it still took up space that the grid could use. And just making it height 0, and width 0, it still drew tiny graphics which appear to be corners or borders. Is there a simpler way to achieve this effect? 3) If the answer to 2, is no.. there is no better way. Then another oddity i faced, was in the function resizing the details panel back to full size, I was unable to figure out a way to say.. go back to your natural state. I had to enter an explicit height and width value, and i could not enter a percentage, or even find out if there was an original preferred value. Is there a way to do get that info that I am missing?

