Quantcast
Channel: Yumasoft blogs
Viewing all articles
Browse latest Browse all 10

Auto resizable spark TextArea (Flex 4).

$
0
0

Creating auto resizable components is a typical and often not a hard task for developer. But there are some problems with TextArea. TextArea automatically displays scrollers when content is too large. The main suggestion in the internet on how to fix it is to add handlers on textChange event and resize TextArea by number of text lines. But it requires manual work every time you use TextArea, so this approach is not optimal. But there is a way to reskin TextArea to obtain autoresize, this way you’ll just need to apply this skin instead of default (or inherit from TextArea and make this new skin default).

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles