{ "id": "121343", "key": "TIMOB-15515", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "61739", "key": "TIMOB-1107", "fields": { "summary": "TiAPI: Add shadowOffset for Label", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-22T23:34:57.000+0000", "created": "2013-10-17T21:08:36.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:01:39.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": null, "attachment": [], "flagged": false, "summary": "Android: Add support for shadowOffset, shadowColor and shadowRadius on Label & Button", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "275780", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4811\nTest case:\n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor : 'white',\n\texitOnClose : true,\n\tfullscreen : false,\n\tlayout : 'vertical',\n\ttitle : 'Label Demo'\n});\n\nvar label = Ti.UI.createLabel({\n\tcolor : '#900',\n\tfont : {\n\t\tfontSize : 48\n\t},\n\ttext : 'A simple label',\n\ttextAlign : Ti.UI.TEXT_ALIGNMENT_CENTER,\n\ttop : 30,\n\twidth : 500,\n\theight : 200\n});\n\nvar button = Ti.UI.createButton({\n\tcolor : 'blue',\n\tfont : {\n\t\tfontSize : 48\n\t},\n\twidth : 500,\n\theight : 200,\n\ttitle : 'A simple button',\n});\n\nvar i=0;\n\nvar change = Ti.UI.createButton({\n\ttop: 50,\n\ttitle: \"change the shadow of the label and button\"\n});\n\nchange.addEventListener(\"click\", function(){\n\tif (i%2 == 0) {\n\t\tlabel.shadowColor = \"#aaa\";\n\t\tlabel.shadowOffset = {x: 10, y: 10};\n\t\tlabel.shadowRadius = 3;\n\t\tbutton.shadowColor = \"#aaa\";\n\t\tbutton.shadowOffset = {x: 10, y: 10};\n\t\tbutton.shadowRadius = 3;\n\t} else {\n\t\tlabel.shadowColor = \"yellow\";\n\t\tlabel.shadowOffset = {x: -20, y: -20};\n\t\tlabel.shadowRadius = 10;\n\t\tbutton.shadowColor = \"yellow\";\n\t\tbutton.shadowOffset = {x: -20, y: -20};\n\t\tbutton.shadowRadius = 10;\n\t}\n\ti++;\n});\n\nwin.add(label);\nwin.add(button);\nwin.add(change);\nwin.open(); \n{code}\nFor FR, run the above test case and click the \"change ...\" button. Should see the shadow in the label and button.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T00:07:02.000+0000", "updated": "2013-10-19T00:07:02.000+0000" }, { "id": "413022", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:01:39.000+0000", "updated": "2017-03-16T21:01:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }