I'm not sure how its done with XML.
Perhaps you need a linkbar with data provider.

On Wed, May 20, 2009 at 4:04 AM, Dinesh Kumar <[email protected]>wrote:

> Hi Edwin,
>
> Thanks for your reply:)....here is the sample
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="absolute">
>     <mx:MenuBar showRoot="false" labelField="@label" >
>                     <mx:XML id="menuData">
>                         <menuItem id="rootMenu">
>                             <menuItem  label="Label"/>
>                             <menuItem  label="Lab" />
>                             <menuItem label="Label123"/>
>                             <menuItem label="Label1234567"/>
>                             <menuItem label="label12"/>
>                         </menuItem>
>                     </mx:XML>
>                 </mx:MenuBar>
> </mx:WindowedApplication>
>
> Is there any property to reduce the gap(width) between the menus and also
> the padding between the label and menu....
>
> Thanks,
> Dinesh
>
> On Wed, May 20, 2009 at 5:24 AM, <[email protected]> wrote:
>
>> Please attach your code for review.
>> Thanks
>> Ed
>>
>> On Tue, May 19, 2009 at 5:37 AM, dinesh <[email protected]>wrote:
>>
>>>
>>>
>>> Hi All,
>>>
>>>
>>> Is there any property to set  width for each of the menubar items...
>>> By default it is adjusting the width based on the label...Any one know
>>> how to change this width.....
>>>
>>> Thanks,
>>> Dinesh
>>>
>>>
>>
>>
>> --
>> Sincerely
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> Edwin Melendez
>> Print/Web/Media
>> 646-246-4368
>>
>>
>>
>>
>
> >
>


-- 
Sincerely
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Edwin Melendez
Print/Web/Media
646-246-4368

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to