pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: how to set setPreferredHeightLimits for text area in the wtkx fil
Date Tue, 29 Jun 2010 12:02:13 GMT
There is currently no way to specify a max line count. However, you can specify a maximum preferred
height. If you multiple the font height by 5 and use this as the value for the maximumPreferredHeight
attribute, it will produce the same result as setting the max line count to 5.

Greg

On Jun 29, 2010, at 12:41 AM, kenjiang@sz.murata.com.cn wrote:

> 
> Dear All,
> 
> I would like to ask how to set setPreferredHeightLimits for text area in
> the wtkx file?
> For example,I would like limit the max line is 5.
> Thanks a lot.
> <TextArea wtkx:id="TextArea1"  preferredWidth="120" preferredHeight="120"/>
> 
> Best regards,
> Ken Jiang
> 
> *******************************************
> Murata Electronics Trading  (Shenzhen) Co.,Ltd
> Tel:86-755-82847251
> E-mail:kenjiang@sz.murata.com.cn
> *******************************************
> 


Mime
View raw message