Answered
Best practice for adding text to Flex container?
Hi,
I'm having some troubles to lay a TextFlow class out properly inside a Flex container. What's the best practice to achieving this, for example adding a lot of text to a small Panel?
Is it possible to pass anything other than a static width and height to DisplayObjectContainerController constructor, or is this not the place to implement this? I guess what I am looking for is the layout logic I'd normally pack into a custom Flex component and implement inside measure() and so on.
My use case: a chat application which adds multiple TextFlow elements to a Flex container such as Panel. Or use TextFlow as a substitute for UITextField.
Some example code would help me greatly.
I'm using Flex 3.2.
Regards,
Stefan
I'm having some troubles to lay a TextFlow class out properly inside a Flex container. What's the best practice to achieving this, for example adding a lot of text to a small Panel?
Is it possible to pass anything other than a static width and height to DisplayObjectContainerController constructor, or is this not the place to implement this? I guess what I am looking for is the layout logic I'd normally pack into a custom Flex component and implement inside measure() and so on.
My use case: a chat application which adds multiple TextFlow elements to a Flex container such as Panel. Or use TextFlow as a substitute for UITextField.
Some example code would help me greatly.
I'm using Flex 3.2.
Regards,
Stefan
