
|
If you were logged in you would be able to see more operations.
|
|
|
Flex SDK
Created: 09/12/07 09:11 AM
Updated: 10/10/08 02:12 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.
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
|
| Triaged: |
Yes
|
| Regression: |
No
|
| QA Owner: |
PR Muruganandh
|
| Resolved by: |
Lauren Park
|
| Participants: |
Justin Buser, Lauren Park and Peter deHaan (Adobe)
|
|
All
|
Comments
|
|
Sort Order:
|
|
(a) 2.0.1 Hotfix 3,
(b) Flex 3.0.0.477,
(c) Flex 3.1.0.2568,
(d) Flex 4.0.0.2633
Verified workaround works in each of the previous SDKs.