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

TextArea htmlText StyleSheet fails to apply paddingBottom to <div> or <p> or to class <div class='getsPaddingBottom'> in the html content

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: TextArea
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Assign the following string to htmlText property of TextArea.

      <div class='foo'><p><span> This is some text</span></p></div>
      <div class='foo'><p><span> This is some more text</span></p></div>

      and then instantiate a styleObject with paddingBottom = 30 or whatever, and add that object to a runtime StyleSheet (setStyle( ....) ) and assign the styleSheet to the TextArea.styleSheet property.

      The paddingBottom is not being applied, although other styles, such as italics or font-family are being applied.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: