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

Miscalculation on Label Sizes causes checkbox labels to be truncated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.5 (Release)
    • None
    • mx: CheckBox
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Firefox 3.x
      Language Found: English

    Description

      Under certain zoom factors applied, Checkbox and RadioButton components truncate their labels because the size of the label is miscalculated.

      It can potentially happen with a combination of scale, fontFamily and fontSize, but I can consistently reproduce it with the following combo:

      fontFamily: Tahoma
      fontSize: 13
      scaleX, scaleY: .75

      Steps to reproduce:
      1. Generate a dashboard containing some Checkbox or RadioButton instances with labels having different strings
      2. Set the properties for the components as stated above
      3. Run the dashboard.

      Actual Results:
      The labels will be truncated, with "..." appended at the end

      Expected Results:
      The labels should be properly scaled.

      Workaround (if any):
      Changing the font size or family may produce different results.

      I am providing a simple application with a numeric stepper to set the zoom size. Notice that changing the zoom to something say 100% changes the zoom of the labels, but we still see the "...". Hovering on top of the labels switched the value to the complete string. Now, scaling back to .75 generates perfectly readable labels. This behavior is not consistent with the original one.

      This issue is also reproducible in Flex 4

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: