Bump... maybe people missed it last night. This seems like such an
obvious problem that it seems like I'm missing something!

Also, I can force the scrollbars by setting
maxHorizontalScrollPosition, but even then, when you scroll the
window, none of the labels redraw! So you don't end up seeing any more
of the text than you did before!

=/  what's the deal here?

thanks,
Thunder

> 
> Guys, I can't seem to get the horizontal scrollbars to work properly
> on a tree control. Setting the horizontalScrollPolicy="auto" doesn't
> do the trick, and I've started looking at maxHorizontalScrollPosition
> but that doesn't seem to work correctly either (not to mention I don't
> exactly know how that would be calculated anyway).
> 
> Here's a sample app. All you have to do is open up some nodes, and
> make the window small enough that it cuts off the text horizontally.
> 
> Any ideas? Anyone else have this working correctly?
> 
> thanks,
> Thunder
> 
> _________________
> 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="horizontal" >
        
        <mx:Tree id="mxTree"
                width="25%" height="25%"
                showRoot="false"
                labelField="@label" 
                horizontalScrollPolicy="auto"
                dataProvider="{treeData}" />

        
        <!-- Add the XMLList DataProvider -->
        
<mx:XML id="treeData">
<node label="Root">
        <node label="1">
                <node label="1-1">
                        <node label="1-1-1">
                                <node label="1-1-1-1">
                                        <node label="1-1-1-1-1"/>
                                        <node label="1-1-1-1-2"/>
                                        <node label="1-1-1-1-3"/>
                                        <node label="1-1-1-1-4"/>
                                        <node label="1-1-1-1-5"/>

                                </node>
                        </node>
                </node>
                <node label="1-2">
                        <node label="1-2-1">
                                <node label="1-2-1-1">
                                        <node label="1-2-1-1-1"/>
                                        <node label="1-2-1-1-2"/>
                                        <node label="1-2-1-1-3"/>
                                        <node label="1-2-1-1-4"/>
                                        <node label="1-2-1-1-5"/>

                                </node>
                        </node>
                </node>
        </node>
</node>
</mx:XML>
                
</mx:Application>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to