Auto resize width height in TextFlow controller
HI,
We are facing the problem in auto resize width height in TextFlow controller. Content is overlaping withing the controller or sometimes it's seems like not full containt displaying on the control.
We are writing the below code in the flashx.textLayout.events.CompositionCompleteEvent listiner to orgnize the above step:
var controller:ContainerController = new ContainerController();
textFlow.flowComposer.composeToPosition();
var contentBounds:Rectangle = _controller.getContentBounds();
_controller.setCompositionSize(_controller.compositionWidth, contentBounds.height);
textFlow.flowComposer.addController(_controller);
textFlow.flowComposer.updateAllControllers();
Please correct if are missing any steps above.
Regards,
R.BS
