Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14131] Blackberry: Labels only show one line of text

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-06-10T15:54:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelsmodule_label, qe-testadded
ReporterPedro Enrique
AssigneePedro Enrique
Created2013-06-05T22:56:09.000+0000
Updated2017-03-13T18:36:17.000+0000

Description

Problem

Ti.UI.Labels only show one line of text. They're supposed to be multi-line labels, like they are on iOS, Android, and MobileWeb

Code

var win = Ti.UI.createWindow();

var l1 = Titanium.UI.createLabel({
	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',
	height: Ti.UI.SIZE,
	backgroundColor: 'red'
});

win.add(l1);
win.open()

Workaround

Setting the wordWrap to false. This should be true by default.

Comments

  1. Pedro Enrique 2013-06-05

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/81
  2. Lee Morris 2017-03-13

    Closing ticket as fixed.

JSON Source