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?

On 2/23/06, John Grden <[EMAIL PROTECTED]> wrote:
oye - I hadn't realized this was the case

So, regardless or resizing, I've gotta hack the treeview with this fix ;)

Thanks for the help Chris, you wouldn't happen to have this code already on hand by chance?

I guess I'm assuming it's treeview.hScrollPolicy = "on" and then scroll it maxHPosition when the tree is updated


On 2/23/06, Chris Velevitch <[EMAIL PROTECTED]> wrote:
On 2/23/06, John Grden <[EMAIL PROTECTED]> wrote:
> I would think that since it's a v2 component that it's gotta be using the
> scrollpane - which has an auto detect feature.  Can't we just turn that on?

According to documentation, hScrollPolicy only takes "on" or "off",
there's not "auto" like in vScrollPolicy. Plus you need to set
maxHPosition, the number of pixels the tree can scroll when
hScrollPolicy is "on".


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

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



--
John Grden - Blitz



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

Reply via email to