[TIMOB-5637] MobileWeb: Label ignores more than one space in a row
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-07-19T00:29:49.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | look1 |
| Reporter | Misha Vasko |
| Assignee | Maxim Negadaylov |
| Created | 2011-07-18T23:14:25.000+0000 |
| Updated | 2017-03-20T17:06:33.000+0000 |
Description
Label ignores more than one space in a row.
Browser will not correctly render this label:
var win = Ti.UI.currentWindow;
var l1 = Ti.UI.createLabel({
text: ' Text after a lot of spaces',
backgroundColor: 'red'});
win.add(l1);
Not sure if this should be reopened or a new defect created but this doesn't work... For MobileWeb, we should probably be converting multiple spaces to nbsp; (non-breaking spaces)
Closing ticket as fixed.