I am developing a flex panel that opens up in Illustrator. All is fine. But, I encountered a problem about the resizing of the panel. When the panel is opened initially, it opens up with the appropriate dimensions (i.e the dimensions I gave in the design). But if I expand the panel, and then close Illustrator without closing the panel, then, when I start Illustrator again, the panel opens up with same dimensions as I closed it with but the panel items are not resized. I have to resize it again to get the items resized. Here are some screenshots to explain what I am saying in a better way.
The panel when I expand it :
The panel, when I open Illustrator again :
I couldn't find the reason for such behavior. So please help me out!
What base class are you using for your extension? mx:Application or csxs:CSXSWindowedApplication? If the former, does switching to the latter result in different behaviour?
csxs:CSXSWindowedApplication solved my problem..!!