[
https://issues.apache.org/jira/browse/FLEX-22918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800508#comment-13800508
]
Andriy Panas commented on FLEX-22918:
-------------------------------------
Related older issue is
[TLF 1905422] contentWidth on TextView doesnt take trailing spaces into account
https://issues.apache.org/jira/browse/FLEX-15723
> RichEditableText doesn't extend when last characters in text are empty and
> width is not setted
> ----------------------------------------------------------------------------------------------
>
> Key: FLEX-22918
> URL: https://issues.apache.org/jira/browse/FLEX-22918
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: RichEditableText
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Adobe JIRA
>
> Steps to reproduce:
> Create RichEditableText with some text setted <s:RichEditableText id="test"
> text="xasxsa xsajiox [empty characters stripped by jira]" />
>
> Actual Results:
>
> RichEditableText is sized to the last non-empty character,
> empty space at the end is not considered when sizing occurs.
>
> Expected Results:
>
> empty characters in the text at the end need to be considered when
> calculating the size for the RichEditableText
>
> Workaround (if any):
>
> fix incorrect text bounds returned by
> RichEditableTextContainerManager.getContentBounds()
--
This message was sent by Atlassian JIRA
(v6.1#6144)