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

TabNavigator tabWidth Style cannot be reset to default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: Tab Navigator
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a Tab Navigator with some tabs and do not set the tabWidth style to anything so all the tabs are the default size.
      2. Change the tabWidth property to be some number (i.e. 30) and the tabs will resize to that size.
      3. Clear the tabWidth property or set it to undefined.

      Actual Results:
      The tbas remain the same size (i.e. 30 wide).

      Expected Results:
      The tabs should revert back to the default sizes.

      Workaround (if any):
      I have not been able to find a workaround for this bug. It seems that it has to do with the tabs being updated in the TabBar class. I did some research and found that I could resie a button back to the default size by setting its width to be NaN, but I couldn't figure out a way to do this for the tabs in the TabBar.

      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: