History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-12649
Type: Bug Bug
Status: New New
Priority: None None
Assignee: PR Muruganandh
Reporter: Justin Buser
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Erratic behavior in line break display

Created: 09/12/07 09:11 AM   Updated: 06/03/08 04:07 PM
Component/s: mx: Text
Security Level: Public (All JIRA Users )

Severity: Incorrectly Functioning with Workaround
Reproducibility: Every Time
Discoverability: Low
Found in Version: SDK Moxie M2 (Beta)
Affected OS(s): Windows - Vista
Steps to Reproduce:
Steps to reproduce:
1.
2.
3.
 
 Actual Results:
 
 
 Expected Results:
 
 
 Workaround (if any):
 
 
     If you are trying to add a line break while setting the text property in the actual mxml tag you have to do it like this:

    <mx:Text text="Two{'\r'}Lines" id="textSample"/>

    If you are setting it in actionscript however you can just put the \r in normally with the rest of the text, i.e.:
    textSample.text='Two\rLines';

    I think this is a bug with flex builder but as there aren't many scenarios in which someone would need to set the text property manually like that I'd imagine they may not have picked up on it yet.

 
Language Found: English
Bugbase Id: none
QA Owner: PR Muruganandh
Participants: Justin Buser and PR Muruganandh


 All   Comments      Sort Order:
There are no comments yet on this issue.