yeah, I experienced that late yesterday as well, ok, I'll still set a maxHPosition but not actually force the scroll.

On 2/24/06, Jim Tann < [EMAIL PROTECTED]> wrote:

Only thinig I have to say is the tree view auto scroll to the far right each time you select something inside of it

 

It would be nicer if you just stay at where you are scrolled to at the time.

 

Jim

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Grden

Sent: 23 February 2006 18:47
To: Open Source Flash Mailing List
Subject: Re: [osflash] Xray - has anyone made it bigger?

 

Cool, if you could try it for a day and let me know that it was working well I'd really appreciate it.  I'm not sure if that little hack is good enough for all conditions.

Thanks Jim,

John

On 2/23/06, Jim Tann < [EMAIL PROTECTED]> wrote:

Yay,

 

Thanks for your help guys,

 

Jim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of John Grden
Sent: 23 February 2006 14:10
To: Open Source Flash Mailing List
Subject: Re: [osflash] Xray - has anyone made it bigger?

 

Ok Jim, could you try this?

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 List.hScrollPolicy is set to "on". The list doesn't precisely measure the width of text that it contains. You must set maxHPosition to indicate the amount of scrolling that the list requires. The list does not scroll horizontally if this property is not set.

Hello - enter the hack.

 

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




--
John Grden - Blitz


_______________________________________________
osflash mailing list
osflash@osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org





--
John Grden - Blitz
_______________________________________________
osflash mailing list
osflash@osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to