Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1226] iOS8: TableView: Separator Insets values are not respected on the side of the title/data if the listview row contains a title/data

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-10-07T14:32:22.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterIvan Skugor
AssigneeSteven Scott
Created2014-10-07T10:08:50.000+0000
Updated2016-03-08T07:37:36.000+0000

Description

Separator Insets values are not respected in iOS 8. To see that, run this code:
Ti.UI.backgroundColor = 'white';
var win = Ti.UI.createWindow();

var tableData = [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ];

var table = Ti.UI.createTableView({
	separatorInsets:{left:0,right:0},
  	data: tableData
});

win.add(table);
win.open();
You should see that separator has offset on left side.

Comments

  1. Ivan Skugor 2014-10-07

  2. Vishal Duggal 2014-10-07

    Fix for tableView was included in the PR for TIMOB-17676
  3. Ivan Skugor 2014-10-07

    OK, great, thank you.

JSON Source