I haven't receive any reply on this...so I decided to create a link button and on mouse over I'm creating a menu object. But here the text start after a empty space on each menubarItem. How can I reduce this gap? I tried to use paddingLeft or paddingRight style but not working..
Thanks Nischal --- In flexcoders@yahoogroups.com, "nischalpathania" <[EMAIL PROTECTED]> wrote: > > I'm facing some issues with MenuBar tag. Let me know the workaround to > fix following issues. > > 1. How can I reduce the gap between root level menu items? > > 2. How can I customize separator? Again the width of the separator is > too much and it is selectable just like others menuitem. I want to put > small vertical line of 2px width in place of this. > > 3. I want sub menu to activate when mouse is over the root menu item > and goes off when mouse move out of the menus. Currectly I have to > click on the menuitem to get the popup and one more click to close. > > > Here is the code > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute"> > <mx:ApplicationControlBar width="730" height="31" x="48" y="30"> > <mx:MenuBar id="myMenuBar" labelField="@label" > > <mx:XMLList> > <menuitem label="MENU ITEM-1" type="link"> > <menuitem label="SubMenuItem A-1"/> > <menuitem label="SubMenuItem A-2"/> > </menuitem> > <menuitem label="MENU ITEM-2" type="check"/> > <menuitem label="MENU ITEM-3" type="check"/> > <menuitem type="seprator" /> > <menuitem label="MENU ITEM-4" > > <menuitem label="SubMenuItem D-8"/> > <menuitem label="SubMenuItem D-9"/> > <menuitem label="SubMenuItem D-10"/> > <menuitem label="SubMenuItem D-11"/> > <menuitem label="SubMenuItem D-12" type="link" /> > </menuitem> > <menuitem label="MENU ITEM-5" > > <menuitem label="SubMenuItem D-1"/> > <menuitem label="SubMenuItem D-2"/> > <menuitem label="SubMenuItem D-3"/> > </menuitem> > </mx:XMLList> > </mx:MenuBar> > <mx:TextInput width="100%" maxWidth="200" /> > <mx:LinkButton label="Search" right="5" /> > </mx:ApplicationControlBar> > </mx:Application> > -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/