flex - Fit TitleWindow to contents -
If I do not specify the width and height value for TitleWindow , then its size will change PopUpManager .
But there are moments when some components will change shape, like combo box which is loaded with asynchronous datapuvers , or the other component which was not visible and I used it from included inlineout to true Want to set.
In those moments, I would like to tell the title windows that they resize themselves to fit window content.
Is there any way to do this?
/ div>
both of these Try calling the methods:
titleWindow.invalidateSize (); TitleWindow.validateNow (); // or Title Window.validateSize ()
Comments
Post a Comment