[TIMOB-12572] BlackBerry : A long label is getting clipped rather than going to the next line
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-06-17T22:26:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Josh Roesslein |
Created | 2013-02-04T22:04:47.000+0000 |
Updated | 2014-06-19T12:43:50.000+0000 |
Description
Description:
1.Build & run KS on BB simulator/device
2.Goto Controls -> label -> basic
OR
1.Run the code below in the BB simulator/device
var win = Ti.UI.createWindow();
var l1 = Titanium.UI.createLabel({
//id:'font_label_test',
text:'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat',
top:10,
height:100,
//textAlign:'center'
});
win.add(l1);
win.open();
Actual result:
1.The label is clipped & does not go to the next line
Expected Result:
1.The label should continue on to the next line & not get clipped
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2013-02-04 at 2.04.05 PM.png | 2013-02-04T22:04:47.000+0000 | 43650 |
We need to implement the "wordWrap" property and set the default to true.