Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Compile the attached MXML code, set focus to the generated text box, and then and then click the 'Reload Text' button.
Actual Results:
The body text in the text box changes from size 13 (the value we've explicitly set in MXML for the TextArea), to size 20 (the value we set the header text to in the actual HTML).
Expected Results:
The TextArea applies the new styles defined by the stylesheet, but keeps the original MXML styles, that is to say, the body text should remain at size 13, as specified in the MXML code, since we haven't changed the font size in the stylesheet.
Workaround (if any):
If we explicitly set the fontSize property on the stylesheet object (i.e. uncomment line 28 in the sample file: styleObj.fontSize = "13", then the TextArea retains it's original font size, as expected.