Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 555533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:49:28+00:00 2026-05-13T11:49:28+00:00

In the following example there is no horizontal scrollbar shown. As soon as I

  • 0

In the following example there is no horizontal scrollbar shown. As soon as I change horizontalScrollPolicy=”auto” width horizontalScrollPolicy=”on” it works fine. Anyone an idea whats wrong with this example?

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

    <mx:ArrayCollection id="ac">
        <mx:Array>
            <mx:Object name="Text Text Text Text"/>
            <mx:Object name="Text Text Text Text"/>
        </mx:Array>
    </mx:ArrayCollection>

    <mx:List id="myList" width="100" height="100" horizontalScrollPolicy="auto" maxWidth="100"
        dataProvider="{ac}"
        labelField="name"/>

     <mx:Tree width="100" height="100" horizontalScrollPolicy="auto" maxWidth="100"
        dataProvider="{ac}" labelField="name"  x="128" y="66"/>

</mx:Application>

thanks and regards

cyrill

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:49:28+00:00Added an answer on May 13, 2026 at 11:49 am

    Check this blog post: autoscrolling for flex tree

    Quoting it:

    The problem was that in a Tree (and other List-based components), when you set the horizontalScrollPolicy to auto, the scrollbars actually don’t come out when they should. This seems like a bug at first, but we did this by design for performance reasons. In order to display the scrollbar properly, we need to measure the width of all the items (on-screen or not) and this would just take too much time to do by default. So instead, to get a scrollbar to show up, you need to set maxHorizontalScrollPosition, which is how much the user can scroll.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say, there is a following example: class Super { public int i = 3;
How can I remove the unwanted whitespace in following example? Note 1. that there
I'm trying to implement a delegate class following Herb Sutter's Example . There is
Why there is an error in the following example? class ClassA class ClassB end
In the following example Test that v1 function was called fails. Is there a
In book named Using C++ by Rob McGregor there is following example of using
In the following example also found at: http://jsfiddle.net/vqBLX/1/ is there any way to get
is there a way to create/add multiple elements at once? In the following example
In the following example, is there a way to know a merge happened? Looking
Is there a way to write custom comparator, following this example: There are at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.