i'm converting code project from Flash AS 3 to Flex 4. I've got a problem with TextField controls. The text that is placed in it doesn't appear. I've checked it thoroughly and its width is always equal to 4. No matter what text is placed in it, it is always so narrow. I know that in Flex, I should provide width and height explicitly for all the components but there are some issues:
- I don't know initial size of such a field - I want it to automatically determine its size based on text that it stores
- There is a couple of other containers that contain it and they should resize automatically too, so they have correct size to display all the content of TextField.
Thanks