{ "id": "152555", "key": "TIMOB-19835", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-11-01T23:03:56.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:54:47.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h1. Problem\r\nThe separator insets for a list view, which work on iPhone, aren't working on iPads. They seem to have a minimum value for the left, and any value I set less than about 50 is ignored. Also, the insets for the empty rows after the defined rows show the opposite problem -- the inset is messed up on the right side.\r\n\r\nSee the attached screenshots.\r\n\r\nh2. Expected Behavior\r\nIf I set the insets to 0, they should reach from edge to edge.\r\n\r\nh2. Reproduction\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.add(Ti.UI.createListView({\r\n\ttemplates: {\r\n\t\tdef: {\r\n\t\t\tchildTemplates: [\r\n\t\t\t\t{\r\n\t\t\t\t\ttype: 'Ti.UI.Label',\r\n\t\t\t\t\tbindId: 'info',\r\n\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\tleft: '20dp', top: 0\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t},\r\n\tdefaultItemTemplate: 'def',\r\n\tsections: [\r\n\t\tTi.UI.createListSection({\r\n\t\t\theaderTitle: 'Vegetables / Verduras',\r\n\t\t\titems: [\r\n\t\t\t\t{ info: { text: 'Carrot' }, es_info: { text: 'Zanahoria' }, pic: { image: 'carrot.png' } },\r\n\t\t\t\t{ info: { text: 'Potato' }, es_info: { text: 'Patata' }, pic: { image: 'potato.png' } }\r\n\t\t\t]\r\n\t\t})\r\n\t],\r\n\tseparatorInsets: { left: 0, right: 0 }\r\n}));\r\nwin.open();\r\n{code}", "attachment": [ { "id": "57218", "filename": "iPad Separator Insets.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2015-11-01T23:02:20.000+0000", "size": 64341, "mimeType": "image/png" }, { "id": "57217", "filename": "iPhone Separator Insets.png", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2015-11-01T23:02:20.000+0000", "size": 29659, "mimeType": "image/png" } ], "flagged": false, "summary": "iPad: Separator Insets Ignored on Left Side", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "5.0.2.GA on iPad Air 2 iOS 9.1", "comment": { "comments": [ { "id": "370681", "author": { "name": "woodoo", "key": "woodoo", "displayName": "Michael Woode", "active": true, "timeZone": "Europe/Berlin" }, "body": "This problem/bug is also present for Ti.UI.TableView insets (on iPad only).", "updateAuthor": { "name": "woodoo", "key": "woodoo", "displayName": "Michael Woode", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-18T11:46:49.000+0000", "updated": "2015-11-18T11:46:49.000+0000" }, { "id": "371615", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi [~dtoth], that looks very related to TIMOB-19777, can you verify that its fixed in 5.1.0.GA?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-30T01:38:30.000+0000", "updated": "2015-11-30T01:38:30.000+0000" }, { "id": "372199", "author": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "body": "I can confirm that this is fixed in 5.1.0.GA.", "updateAuthor": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "created": "2015-12-04T21:44:48.000+0000", "updated": "2015-12-04T21:44:48.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }