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

SparkButtonSkin textAlignment

    XMLWordPrintableJSON

Details

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

    Description

      In SparkButtonSkin.as alignLabelForPlacement the text alignment should be "start" rather than "left" so it will support rtl correctly.

      var alignment:String =
      iconPlacement == IconPlacement.LEFT ||
      iconPlacement == IconPlacement.RIGHT ? "left" : "center"

      This problem won't be obvious unless the text field in the button has a fixed width which is larger than the width of the text.

      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: