Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12714] Blackberry : Specifying 'auto' height & width for any control does not render the control

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-06T22:32:32.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04
ComponentsBlackBerry
Labelsqe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-02-12T22:41:32.000+0000
Updated2013-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

Comments

  1. Lokesh Choudhary 2013-02-13

    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

JSON Source