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

Combobox Dropdown width not adjusting unless selected item changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: ComboBox
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      1. Create a combobox
      <mx:Combobox id="my_combobox" dataProvider="

      {my_arraycollection}

      "/>

      2. Programmatically change a combobox width in actionscript :
      my_combobox.width = 500;

      AND/OR change combobox dropdownwidth
      my_combobox.dropdownWidth = 500;

      Actual Results:
      Combobox is correctly resized BUT dropdown width is not changed unless you selectedItem is changed by user.

      Expected Results:
      dropdown width should either adjust to new combobox size or be equal to the new dropdownWidth.

      Workaround (if any):
      If width changed on creationComplete, it works, the bug happens when width or dropdownwidth is progammatically changed later during runtime.
      It seems that this bug is NOT present in SDK 3.4, but it IS present in SDK 3.5

      Though it is ok in SDK 4.0

      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: