I am new to Laszlo and I have what might be a few fairly simple questions.
 
if I have a text element like the following
<view name="myView">
   <text name="abc" text="hello"/>
</view>
 
I can do myView.abc.width and I get how wide the text is, but if my text element is using replication like the following
 
<view name="myView" datapath="datasetName">
   <text name="abc" datapath="a/b/@attribute"/>
</view>
 
when I run myView.subviews[0].width the number is huge and changes every time I call it.
 
1) why does getting the width from the replicated text return a different number every time it is called (it always seems to be increasing)?
2) how can I get the real width of any of the replicated text elements?
 
Thanks in advance
Marc
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to