I did Anchor both the left and right sides of the HBox. Maybe the
appearance of the scrollbars for the HBox caused the outer canvas
scrollbars to appear too?

I'll check this out again when I upgrade to Beta2.

thanks for the info.
Thunder

--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
> 
> 
> Hi Thunder.  The chart legend wasn't built to scroll. For codesize
> reasons, it extends Tile, which means it inherits scroll functionality,
> but it's been explicitly disabled.
> 
> Assuming you either anchored both sides of the hbox (left/right or
> top/bottom, depending on what direction you're talking about) or set an
> explicit width/height, it should definitely constrain the hbox, forcing
> scrollbars. 
> 
> Ely.
> 
> 
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of thunderstumpgesatwork
> Sent: Friday, March 24, 2006 12:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex2 - Bug with chart Legend and ScrollPolicy
> 
> Hi,
> 
> I am trying to get the chart legend to scroll if there are more items
> than room to display. I have set the 'hScrollPolicy' to "auto" both in
> mxml, and after adding the chart series, in ActionScript.
> 
> In the debugger the value is always 'off' even immediately after setting
> it.
> 
> To work around this I tried putting the legend in an HBox to perform the
> scrolling. I am using Anchor LayoutConstraints on a Canvas, and I put
> the Anchor on the HBox, but aparently it doesn't take precedence over a
> large child (the legend) because the HBox just grew, and caused the
> whole canvas to add scrollbars.
> 
> This may be two bugs, but seems like at least one.
> 
> let me know if I'm missing something.
> thanks,
> Thunder
> 
> 
> 
> 
> 
> --
> 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
>






--
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/

<*> 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