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

Button label should be ascent centered when using iconPlacement top and bottom when no icon is present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Mobile: Button Skin
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. In a mobile application, use the following code:

      <s:HGroup>
      <s:Button iconPlacement="left" label="Wj" width="100" height="100"/>
      <s:Button iconPlacement="right" label="Wj" width="100" height="100"/>
      <s:Button iconPlacement="top" label="Wj" width="100" height="100"/>
      <s:Button iconPlacement="bottom" label="Wj" width="100" height="100"/>
      </s:HGroup>

      2. Run and observe labelDisplay alignment of the last 2 buttons

      Actual Results:
      "top" iconPlacement shows text constrained to the bottom (SDK-29187)
      "bottom" iconPlacement shows text 1px too high.

      Expected Results:
      When no icon is present, we should degrade to ascent alignment for labels.

      Workaround (if any):

      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: