Interesting... if I call myMenu.setSize(10,10) and then call 
myMenu.rowCount = 5, the menu draws on screen with all rows then 
quickly redraws with only 5 rows (but there is no way to scroll to 
see the rest). Then if I comment out the setSize, the rowCount is 
ignored and all items are displayed. In either case, if I set 
myMenu.vScrollPolicy to "on" or "auto" I either get a scrollbar 
without buttons/track or nothing at all. Note also the bug I 
mentioned with hScrollPolicy also applies to vScrollPolicy.


--- In [email protected], "Hans Omli" <[EMAIL PROTECTED]> wrote:
> Thanks Deepa! Can you make sure there's a bug filed as well for 
the 
> issue with Menu extending off screen if too many rows exist. The 
> component really should be intelligent enough to add a vertical 
> scrolling when necessary. I've tried setting myMenu.rowCount = 
10, 
> myMenu.maxHeight = 100, and so on without success. (I also just 
> found a bug where myMenu.hScrollPolicy = "on" causes the border to 
> disappear on the Menu.)
> 
> Any help from anyone on a temporary workaround for this would be 
> greatly appreciated!!! I'd really prefer to use a Menu over 
> showing/hiding a container with a bunch of links or something like 
> that! (Unfortunately, nested menus aren't an option to limit 
items 
> in the list for what I need to do.)
> 
> Thanks!
> 
> 
> --- In [email protected], Deepa Subramaniam 
<[EMAIL PROTECTED]> 
> wrote:
> > Hi Hans -
> > 
> > Looks like there is a bug in Menu where the the conversion of 
> coordinates
> > from the space of myBox to the global Application space is not 
> working. I've
> > filed a bug internally for this.
> > 
> > As a workaround, you will have to manually do this conversion 
using
> > localToGlobal(). Below is code that works. 
> > 
> > Note: if and when we do chose to fix this bug - anyone already 
> doing this
> > manual conversion will have to amend their code. 
> > 
> > Hope this helps -
> > Deepa
> > Flex Team



Reply via email to