ChickensDontClap
ChickensDontClap

Reputation: 2051

Extending Spark TextInput to auto-resize

Hi have a Spark TextInput control but I haven't figured out a way to make is auto-resize...Does anyone have any code to get started?

Upvotes: 0

Views: 844

Answers (1)

back2dos
back2dos

Reputation: 15623

I have no code, but I guess it shouldn't be too hard. you should simply watch changes, and then grab the new text size. I don't have flex 4 right now, but I guess you should take a peek into the sources and try to drill to the used TLF-components to get the size.

Upvotes: 1

Related Questions