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

[backwards compatibility] [mustella] horizontalGap for CheckBox defaults to 5 instead of 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • mx: CheckBox
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Reproduction:
      1. Compile & run the following w/ Flex 2.0.1 and the latest Flex 3 build
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Canvas id="myCanvas" height="150" width="300">
      <mx:VBox>
      <mx:CheckBox id="myCheckBox"/>
      <mx:Label text="

      {myCheckBox.getStyle('horizontalGap')}

      "/>
      </mx:VBox>
      </mx:Canvas>
      </mx:Application>

      Actual Results:
      In Flex 2.0.1 the label shows that the default horizontalGap is 2. In Flex 3 the label shows it's 5.

      Expected Results:
      According to the documentation, horizontalGap should default to 2. (Button has the same style and it still defaults to 2 even in Flex 3)

      Workaround:
      None

      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: