Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Build and run the attached app.
2. Note the alignment of the 3 lines of "Text" in both the top RichEditableText and the bottom RichText.
3. Use the arrow keys to position the cursor at the very end of the text. Be sure to press right a few extra times after the visible end of the text so the cursor ends up after the last of the trailing spaces.
4. Type a visible character.
Actual Results:
At step 2: All 3 lines have their visible text right aligned even though the last 2 lines have trailing spaces. The spaces should not be collapsed (whiteSpaceCollapse is "preserve" and there is CDATA in the code to prevent XML parsing from messing with the spaces).
After step 4: The spaces appear between "Text" and the typed character, showing that they weren't collapsed.
Expected Results:
Trailing spaces in right-aligned text should push the visible characters towards the left.
Workaround (if any):