http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/swf/xray_1.2.5_test.swf?rev=99&format=raw
after messing with it, this seems to work in my initial tests, but of course, I have to guess on the amount of maxHPosition needed. So, I'm grabbing the selected node's visible index and multiplying by 10:
tree.maxHPosition = tree.getDisplayIndex(parentXML) * 10;
tree.hPosition = tree.maxHPosition;
Let me know if this works. If it does, I'll do an official update
Thanks all for your help,
On 2/23/06, John Grden <[EMAIL PROTECTED]> wrote:
nm -Description
Property; specifies the number of pixels the list can scroll when
Hello - enter the hack.List.hScrollPolicy
is set to"on"
. The list doesn't precisely measure the width of text that it contains. You must setmaxHPosition
to indicate the amount of scrolling that the list requires. The list does not scroll horizontally if this property is not set.On 2/23/06, John Grden < [EMAIL PROTECTED]> wrote:well, I have now have the policy turned on, but when I update the treeview and check maxHPosition, it's always 0.
Is there anything else I should be doing?
--
John Grden - Blitz
_______________________________________________ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org