{ "id": "118241", "key": "TIMOB-14843", "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": "2013-08-10T09:07:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "backgroundgradient", "reprod", "tableview", "tableviewrow" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "30940", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "118247", "key": "AC-2418", "fields": { "summary": "iOS: Background Gradient on TableView Grouped won't fit into the grid", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30937", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118248", "key": "TIMOB-14840", "fields": { "summary": "iOS: TableViewRow background selected color is not a gradient", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:33.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": "*Problem*\r\nOn iOS, when using a gradient for the background of a TableViewRow for a GROUPED TableView, it fills the full width of the screen rather than being contained inside the rounded corners.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar data = [{\r\n\ttitle : 'Adrian',\r\n\tbackgroundColor : \"yellow\"\r\n}, // backgroundColor does work\r\n{\r\n\ttitle : 'Andrew'\r\n}, {\r\n\ttitle : 'Barry'\r\n}, {\r\n\ttitle : 'Betty',\r\n\tbackgroundGradient : {// backgroundGradient doesn't work correctly\r\n\t\ttype : 'radial',\r\n\t\tstartPoint : {\r\n\t\t\tx : 50,\r\n\t\t\ty : 50\r\n\t\t},\r\n\t\tendPoint : {\r\n\t\t\tx : 50,\r\n\t\t\ty : 50\r\n\t\t},\r\n\t\tcolors : ['red', 'blue'],\r\n\t\tstartRadius : '90%',\r\n\t\tendRadius : 0,\r\n\t\tbackfillStart : true\r\n\t}\r\n}];\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\tstyle : Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n\tdata : data\r\n});\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n{code} ", "attachment": [ { "id": "41547", "filename": "iOS Simulator Screen shot Aug 12, 2013 4.06.20 PM.png", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T23:06:23.000+0000", "size": 23466, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: backgroundGradient for TableViewRow in GROUPED TableView fills width of screen", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Macbook Pro, OSX 10.7.5, iOS Simulator v. 6.0 (369.2). Ti: 3.1.1 GA", "comment": { "comments": [ { "id": "266103", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.0.0 GA, 3.1.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T23:10:40.000+0000", "updated": "2013-08-12T23:10:40.000+0000" }, { "id": "422261", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170609091155\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-19T17:58:44.000+0000", "updated": "2017-06-19T17:58:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }