Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24137

menu bar not handling multiple sublevels

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • mx: Menu Bar
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

    Description

      MenuItem B
      ------ B1
      --------- B2
      ---------- B3

      <?xml version="1.0"?>
      <!-- menus/MenuBarControl.mxml -->
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >

      <!-- Define the menu; dataProvider is the default MenuBar property.
      Because this uses an XML data provider, specify the labelField and
      showRoot properties. -->
      <mx:MenuBar id="myMenuBar" labelField="@label">
      <mx:XMLList>
      <menuitem label="MenuItem A">
      <menuitem label="SubMenuItem A-1" enabled="false"/>
      <menuitem label="SubMenuItem A-2"/>
      </menuitem>
      <menuitem label="MenuItem B">
      <menuitem label="B1">
      <menuitem label="B2">
      <menuitem label="B3"/>
      </menuitem>
      </menuitem>
      </menuitem>
      <menuitem label="MenuItem C"/>
      <menuitem label="MenuItem D">
      <menuitem label="SubMenuItem D-1"
      type="radio" groupName="one"/>
      <menuitem label="SubMenuItem D-2"
      type="radio" groupName="one"
      selected="true"/>
      <menuitem label="SubMenuItem D-3"
      type="radio" groupName="one"/>
      </menuitem>
      </mx:XMLList>
      </mx:MenuBar>
      </mx:Application>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: