A quick and dirty way to do it would be to just add spaces to the XML that
provides the menubar items:
 
private var menubarXML:XMLList =
  <>
    <menuitem label="  File  " data="file"/>
    <menuitem label="  Edit  " data="edit"/>
    <menuitem label="  Create  " data="create"/>
  </>;
 
 
~randy



   _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sgarrity1
Sent: Friday, September 28, 2007 3:22 PM
To: [email protected]
Subject: [flexcoders] adjusting horizontal space between menuitems in
menuBar



Hi,

I've tried numerous approaches and searched a number of blogs for
this. Is there a way to adjust the space between text menuitems in a
MenuBar ? I would think one might be able to use horizontalGap or
padding or margins but that does not seem to be available ? I know I
could modify the actionscript but am just wondering if there is a
cleaner/simpler way via a parameter or style that I have missed ?

So rather than:

File Edit Create

I'd want:

File Edit Create

Thanks for any tips



 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.488 / Virus Database: 269.13.33/1036 - Release Date: 9/28/2007
3:40 PM
 

Reply via email to