[TIMOB-13507] BlackBerry : Horizontal layout is not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-12T09:28:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 08 BB, 2013 Sprint 08, Release 3.2.0 |
Components | BlackBerry |
Labels | qe-testadded, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Josh Roesslein |
Created | 2013-04-09T22:18:30.000+0000 |
Updated | 2014-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
No comments