Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12572] BlackBerry : A long label is getting clipped rather than going to the next line

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-06-17T22:26:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneeJosh Roesslein
Created2013-02-04T22:04:47.000+0000
Updated2014-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

FileDateSize
Screen Shot 2013-02-04 at 2.04.05 PM.png2013-02-04T22:04:47.000+000043650

Comments

  1. Josh Roesslein 2013-02-04

    We need to implement the "wordWrap" property and set the default to true.
  2. Pedro Enrique 2013-06-17

JSON Source