Problem description
Adding a leftImage to a TableViewRow does not allow to add a padding, and the text looks too near to the image. Using the 'left' property doesn't look good either while scrolling.
Steps to reproduce
Use the following code to reproduce the issue:
// Create a window
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
var rows = [];
function addRow() {
var row = Ti.UI.createTableViewRow({
leftImage: 'image.png',
height: 400,
title: "Row " + rows.length,
left: 200,
className: 'test'
});
rows.push(row);
}
for (var i=0; i<30; i++)
addRow();
var table = Ti.UI.createTableView({
data: rows
});
win.add(table);
win.open();
Running the app, the text is not 200px from the left of the image; however, while scrolling the text is placed correctly most of the times.
Can not reproduce this in 3_0_X CI or master CI. Might have gotten fixed with the other table view fixes we have done. Either ways the way the code is written, it will never work on iOS
Since this bug is reproducible with only SDK 2.1.4 on devices Android 2.x and Android 4.1 and is not reproducing with 3.0.0.GA and later 3.1.x(3.1.0.v20130228214607) builds so closing it.