{ "id": "155824", "key": "TIMOB-20591", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-18T18:49:40.000+0000", "created": "2016-03-18T12:15:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "listview", "qe-5.4.0", "separatorinsets" ], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-10T20:42:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "As discussed in TIMOB-16355, we should follow the {{list}}-prefix for alle ListView methods just like ListSection and ListItem etc. So we should rename {{tableSeparatorInsets}} to {{listSeparatorInsets}}, thats it.", "attachment": [], "flagged": false, "summary": "iOS: Rename \"tableSeparatorInsets\" to \"listSeparatorInsets\" in Ti.UI.ListView", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "380080", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7864", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-18T12:24:25.000+0000", "updated": "2016-03-18T12:24:25.000+0000" }, { "id": "380132", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Demo code \r\n{code:javaScript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\nvar sections = [];\r\nvar sectionFruit = Ti.UI.createListSection({ headerTitle: 'Fruit headerTitle',});\r\nvar fruitDataSet = [\r\n {properties: { title: 'Apple'}},\r\n {properties: { title: 'Banana'}},\r\n];\r\nsectionFruit.setItems(fruitDataSet);\r\nsections.push(sectionFruit);\r\n \r\nvar sectionVeg = Ti.UI.createListSection({ headerTitle: 'Vegetables headerTitle'});\r\nvar vegDataSet = [\r\n {properties: { title: 'Carrots'}},\r\n {properties: { title: 'Potatoes'}},\r\n];\r\nsectionVeg.setItems(vegDataSet);\r\nsections.push(sectionVeg);\r\n \r\nvar listView = Ti.UI.createListView({\r\n top: 20,\r\n headerTitle: 'Table headerTitle',\r\n footerTitle: 'Table footerTitle',\r\n \r\n tableSeparatorInsets: {\r\n left: 50, right: 50\r\n },\r\n \r\n rowSeparatorInsets: {\r\n left: 30, right: 30\r\n },\r\n \r\n});\r\n listView.sections = sections;\r\nwin.add(listView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-18T18:49:19.000+0000", "updated": "2016-03-18T18:49:19.000+0000" }, { "id": "388095", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, listSeparatorInsets work correctly, and using tableSeparatorInsets returns a Deprecation warning. \r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device & iPhone 6 Plus (8.3) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160608165242\r\nAppc Studio: 4.6.0.201605201934\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-15\r\nXcode 7.3\r\nNode v4.2.6\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-10T20:41:34.000+0000", "updated": "2016-06-10T20:41:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }