Blank rows appear in the table view. This regression is present in builds from today, back to around the 29th (the environment contains more specific information on which ones).
1. Drop the following in an app.js
2. Run in iPad simulator
3. Drag the table view around; the quickest way to reproduce is to bounce at the top of the table view
var win = Ti.UI.createWindow({
backgroundColor: '#ccc'
});
var data = [];
for (var i = 0; i < 200; i++) {
var row = Ti.UI.createTableViewRow({
hasChild: true
});
row.add(Ti.UI.createLabel({
height: 24, top: 3, left: 34,
text: 'Row ' + i,
font: {
fontFamily: 'Helvetica Neue',
fontSize: 18,
fontWeight: 'bold'
}
}));
row.add(Ti.UI.createLabel({
height: 20, top: 24, left: 34,
text: 'Subtitle for ' + i,
font: {
fontFamily: 'Helvetica Neue',
fontSize: 14,
fontWeight: 'normal'
}
}));
row.add(Ti.UI.createLabel({
height: 24, width: 60, top: 10, right: 10,
textAlign: 'right',
text: i,
font: {
fontFamily: 'Helvetica Neue',
fontSize: 18,
fontWeight: 'bold'
}
}));
data.push(row);
}
win.add(Ti.UI.createTableView({
style: Ti.UI.iPhone.TableViewStyle.GROUPED,
data: data
}));
win.open();
pull pending #815
Tested with studio 1.0.7.201112041107 Ti Mob SDK 1.8.0.1.v20111205011857 OSX Lion iPad/iPhone 5.0 Simulator, iPhone 4S OS 5.0.1, iPod Touch OS 4.3.5, iPad 2 OS 4.3.5 Expected behavior of no blank rows is shown
Confirmed in client application as well; looks good.
Added label qe-testadded.