Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13507] BlackBerry : Horizontal layout is not working

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-04-12T09:28:23.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0
ComponentsBlackBerry
Labelsqe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeJosh Roesslein
Created2013-04-09T22:18:30.000+0000
Updated2014-02-19T01:06:00.000+0000

Description

Description: 1.Create a default app for BB 2.Replace the app.js with the following code(Taken from KS):

var win = Ti.UI.createWindow({});
	
	var view = Ti.UI.createView({
		height:300,
		width:320,
		layout:'horizontal'
		
	});
	win.add(view);
	
	var l1 = Ti.UI.createLabel({
		text:'I am the first label',
		left:5,
		width:'auto',
		height:20
	});
	
	view.add(l1);
	
	var l2 = Ti.UI.createLabel({
		text:'I am the second label',
		left:2,
		width:'auto',
		height:20
	});
	
	view.add(l2);
	
	var l3 = Ti.UI.createLabel({
		text:'I am the third label',
		left:2,
		width:'auto',
		height:20
	});
	
	view.add(l3);

win.open();
2.Build & run on BB simulator/device. Actual Result: 1. The app crashes after the appc splash screen Expected Results: 1. The app should not crash & should show the horizontal layout

Comments

No comments

JSON Source