PDA

View Full Version : big html text issue


epopov
01-28-2004, 11:00 AM
Hi,
I try to get text from xml using getNodeText() method and to paste this text into multiline text. When I perform this bottom part (38 of 68 strings) of my text become invisible, but scrolling works well (i.e. understands that there are 68 strings instead of 30 ).

Attachment contains example for lps-1.0.3 version.

Help me please. How to fix this?
Thanks.

vfunshteyn
02-09-2004, 12:57 PM
Try this instead:

<canvas debug="true" maxtextheight="2000">

<dataset name="testds" src="xml/test.xml">
</dataset>

<view name="pview" width="300" height="200" clip="true">
<text name="deftxt" width="${parent.width}" multiline="true"
datapath="testds:/bigtext/text()"/>
<scrollbar axis="y" />
</view>

</canvas>

I tested it in LPS 2.0, but it should work in 1.0.3 as well.