Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13829] BlackBerry: Fix Ti.UI.SIZE - Buttons and Labels are going to 0 size

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-18T01:11:39.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 10 BB, 2013 Sprint 10, Release 3.1.1, Release 3.2.0
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneeRussell McMahon
Created2013-05-10T21:43:51.000+0000
Updated2014-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();

Comments

  1. Lokesh Choudhary 2013-05-28

    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

JSON Source