您的位置:首页 > 其它

Flex TextArea 根据文字内容自动增加高度

2012-02-28 17:59 471 查看
简单一句话额

protected function txtField_changeHandler(event:Event):void
{
txtField.height = txtField.scroller.viewport.contentHeight + 2;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: