On 7/29/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:
> I'm just playing with the MenuBar component and I can't seem to figure
> out how to make the first menu flush with the left side of my
> app...there always seems to be a padding of 10 pixels before the start
> of the first menu item in the menu bar...
The MenuBar is hard-coded to place the first MenuBarItem (and the
dropdown) at 10 pixels. If you open up your FlexforFlash.zip (or go
through fdb), you can see there's an internal '__marginWidth' variable
whose value is set to 10.
<mx:MenuBar id="menubar" dataProvider="{myMenuData}"
__marginWidth="0" />
;-)
Manish
PS: Don't tell anybody.
--
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/