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

IOS: Button text with custom font size and height does not middle align on 320dpi devices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Mobile: Button Skin
    • None
    • Affected OS(s): Apple IOS
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a mobile application with a button and/or buttonbar declared as follows:
      <s:ButtonBar width="400" height="40" fontSize="15">
      <s:dataProvider>
      <s:ArrayList>
      <fx:String>Button1</fx:String>
      <fx:String>Button2</fx:String>
      </s:ArrayList>
      </s:dataProvider>
      </s:ButtonBar>
      <s:Button label="Hello" height="40" fontSize="15"/>
      2. Run this application on ADL or device with 160dpi, 240dpi and 320dpi.

      Actual Results:
      The 160dpi and 240dpi runs show the text middle aligned vertically. However, the 320dpi run shows the text lower than middle.

      Expected Results:
      The text should be middle aligned regardless of DPI.

      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: