PDA

View Full Version : corrupted text field


epopov
03-02-2004, 10:06 AM
Hi,

I have text line which length can be more than 200 symbols. When I perform setText(), rigth part of text is invisible.
Attachment contains simple example that illustrates of my problem.

Have you any ideas how to fix this problem?

vfunshteyn
03-04-2004, 01:34 PM
You will need to set the maxtextwidth attribute on the canvas tag. Note that you cannot constrain this attribute, i. e. it can only be a constant number. Choose a large enough value to fit the entire line of text you're trying to display -- I tried 1500 for your example and it seemed to work.