[TIMOB-13829] BlackBerry: Fix Ti.UI.SIZE - Buttons and Labels are going to 0 size
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-18T01:11:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 10 BB, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | BlackBerry |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2013-05-10T21:43:51.000+0000 |
Updated | 2014-06-19T12:43:26.000+0000 |
Description
Code to reproduce issue:
var win1 = Titanium.UI.createWindow({
backgroundColor:'#000'
});
var label1 = Titanium.UI.createLabel({
color:'#999',
text:'Label Test',
font:{fontSize:20,fontFamily:'Helvetica Neue',fontStyle:'italic'},
width: Ti.UI.SIZE,
height: Ti.UI.SIZE
});
win1.add(label1);
win1.open();
Verified the fix, the buttons & labels do not goto size zero anymore. Environment: Ti Studio : 3.1.1.201305150313 Ti BB SDK : 3.1.1.v20130524180421 Mac OSX : 10.8.2 win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138