[TIMOB-12714] Blackberry : Specifying 'auto' height & width for any control does not render the control
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-06T22:32:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04 |
Components | BlackBerry |
Labels | qe-testadded, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-02-12T22:41:32.000+0000 |
Updated | 2013-09-25T10:24:32.000+0000 |
Description
Description:
1.Run the sample code below on BB simulator/device
var win1 = Titanium.UI.createWindow({
backgroundColor:'#fff'
});
var lbl = Ti.UI.createLabel({
text:'Please select an item',
font:{fontSize:15},
height:'auto',
width:'auto',
color:'#000'
});
win1.add(lbl);
win1.open()
2.Notice the app after its is launched
Actual Result:
1.The label is not rendered if the height & width is set to 'auto'
Expected Result:
1.The label should be displayed
In the code I have used label you can verify it with any control
Verified the fix & the label is getting displayed properly with height & width set to auto Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130213092222 Mac OSX : 10.8.2 win 7 64 bit Win 8 BB simulator : 10.0.9.386 Dev alpha 10 device