关于TextField

textField有个htmlText的属性,但如果有换行符的话,需设置mutiLine为true,放在htmlText这句之前。

像这样:

       txt.mutiLine=true;

       txt.htmlText="<br>txt<br>txt";

原文地址:https://www.cnblogs.com/sevenmoons/p/2722484.html