flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Panas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-22918) RichEditableText doesn't extend when last characters in text are empty and width is not setted
Date Mon, 21 Oct 2013 09:04:42 GMT

    [ https://issues.apache.org/jira/browse/FLEX-22918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800486#comment-13800486
] 

Andriy Panas commented on FLEX-22918:
-------------------------------------

Actually IMNO it is not TLF issue, I observe this issue with bare Textlines from FTE as well

See discussion named "FTE's textLine.textWidth value does not change if text ends with SPACE
character" at Adobe forums with short code sample that highlights this issue
http://forums.adobe.com/thread/1316968?tstart=0

> 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)

Mime
View raw message