{ "id": "76412", "key": "TIMOB-4414", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-06-15T08:50:22.000+0000", "created": "2011-06-15T06:26:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "11105", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "76474", "key": "TIDOC-216", "fields": { "summary": "APIDoc: Wrong description of 'top' property in tableViewRow object", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "11104", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "76471", "key": "TIMOB-5625", "fields": { "summary": "MobileWeb: Property 'top' of the tableViewRow works incorrect.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:18:50.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": [], "description": "Property 'top' of the tableViewRow does not works on iOS. On Android the value of 'top' property attached to the inner content of the tableViewRow but the tableViewRow is still in the same position in the tableView.\r\nAndroid: \r\n!http://i52.tinypic.com/6fmb6g.png!\r\n{code:JavaScript}\r\nvar win = Ti.UI.currentWindow;\r\nwin.backgroundColor = '#EEE';\r\n\r\nvar data = [{title:'This is row #1',color:'black',fontStyle: 'italic'},\r\n\t\t\t{title:'This is row #2',color:'black',fontSize:15, top:30},\r\n\t\t\t{title:'This is row #3',color:'black'},\r\n\t\t\t{title:'This is row #4',color:'black'},\r\n\t\t\t{title:'This is row #5',color:'black'}];\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\twidth: 300,\r\n\theight: 200,\r\n\ttop: 70,\r\n\tleft: 10,\r\n\tbackgroundColor: '#AAA',\r\n\tdata:data\r\n});\r\n\r\nvar closeButton = Ti.UI.createButton({\r\n\ttitle:'Close Window',\r\n\theight:50,\r\n\twidth:140,\r\n\tfontSize: 16,\r\n\ttop:10,\r\n\tleft:90\r\n});\r\n\r\ncloseButton.addEventListener('click', function(){\r\n\tTitanium.UI.currentWindow.close();\r\n});\r\n\r\nwin.add(closeButton);\r\nwin.add(tableView);\r\n{code}", "attachment": [], "flagged": false, "summary": "Property 'top' of the tableViewRow works incorrect in Android and ignored in iPhone", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "156800", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Row's in tableviews are not moved outside of their relative positioning. `top : 20` indicates the distance from the top of the containing view to layout the row contents.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-15T08:50:22.000+0000", "updated": "2011-06-15T08:50:22.000+0000" }, { "id": "410978", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:18:50.000+0000", "updated": "2017-03-09T23:18:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }