Re: [flexcoders] How to set variableRowHeight = true in MenuBar

2009-10-18 Thread iLLuZioN
It's been a while since the last post, but hopefully this will help others with the same problem. I've adjusted the onMenuShow function to fix the height problem: private function onMenuShow(event:MenuEvent):void { if ( !event.menu.variableRowHeight ) { event.menu.variableRowHeight =

[flexcoders] How to set variableRowHeight = true in MenuBar

2008-12-02 Thread nathanleewei
I want make the same effect as following url: http://blog.flexexamples.com/2008/10/02/adding-a-horizontal-separator- to-a-flex-popupbutton-controls-pop-up-menu-redux/ I haved tried 2 methods to solve the problem, //method 1 private function onMenuBarInitialize():void {