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

Allow truncation of text in RichText/Label (TextBase) components without a visual indication of truncation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: RichText
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      The issue is that components such as s:RichText can cut off text that flows past its boundaries, so that some number of pixels of the next line of text are visible at the edge of the component. I encountered this while working on an application that had an un-scrollable RichText component, which was used to display text that would be printed out (via AIR 2's printing APIs). I didn't want any cut-off text to appear at the bottom of the page, but had no way to prevent it. Thus I ended up using an mx:Text component instead, which will truncate text that would otherwise be not entirely visible at the edge of the component.

      Components like RichText should allow the truncation of text without visually indicating that truncation has occurred. I think this would even be an acceptable default, and would match the behavior of the mx:Text component.

      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: