2 Replies Latest reply on Feb 15, 2008 1:17 AM by sulletf

    TREE control - horizontalScrollPolicy="auto"

    sulletf Level 1
      Hi!

      In the folowing example, an horizontal scroll bar should appear automatically, but it does not.

      Any idea ?


      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">

      <mx:Script>
      </mx:Script>

      <mx:XMLList id="treeData">
      <node label="Mail Box">
      <node label="Inbox">
      <node label="Marketing">
      <node label="Advertising"/>
      <node label="Medias"/>
      </node>
      <node label="Product Management"/>
      <node label="Personal"/>
      </node>
      <node label="Outbox">
      <node label="Professional"/>
      <node label="Personal"/>
      </node>
      <node label="Spam"/>
      <node label="Sent"/>
      </node>
      </mx:XMLList>

      <mx:Tree id="myTree" width="100" height="200" labelField="@label"
      showRoot="false" dataProvider="{treeData}" horizontalScrollPolicy="auto"/>


      </mx:Application>