do you have creationPolicy="all" in your popup window?
No. I dont have that. Basically, this should be a resizing issue. WHen I open my
popup for the first time, I am fetching data from backend and sizes accordingly , but for the second time the data is already there in cache.
So, i guess it is not resizing as it has the
data already. Please suggest if i can explicitly resize my container.
No answers, but I may be seeing something similar.
I'm converting a project from Flex 3 to 4. In a popup (Spark TitleWindow) I have a some TabNavigators. On subsequent openings of the popup, the contents of the navigator children don't always render. After some changing of various Halo components to their Spark equivalents, I thought the problem had gone away. But the problem seems to have come back.
In my case, I'm not sure if the "subsequent opening" is the key issue. Sometimes, the contents of nested TabNaviagtor children don't render on the first opening. although the first child content always renders. But the problem seems to increase in subsequent openings. (I.e. more children of TabNavigators don't render.)
Perhaps not connected, but I notice when this happens, the outside borders of dataGrid components don't render in components outside of TabNavigators. I suspect there's a simple thing I need to to do to fix this, but I haven't found it. Any hints or insights would be welcomed.
My case is as similar as yours. Even my case is with the spark components. The opup window has a view stack and has three tabs A,B,C
Please let me know if you find something for this.
The ViewStack has a property resizeToContent. Try setting it to true.
In my TitleWindow, I have some ViewStacks. One of these was linked to a Halo ToggleButtonBar. I changed this to a Spark ButtonBar, and since then it has behaved correctly.
This seems a bit strange, so I'm not fully confident this is a fix. But if you're also using a Halo ToggleButtonBar, try switching to a Spark ButtonBar and see if it helps.
I did the resizeToContent, but then it dint work for the first time even.
I'll try this.