{ "id": "176137", "key": "TIMOB-28405", "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": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-08-16T13:58:44.000+0000", "created": "2021-03-26T12:48:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-08-16T13:58:44.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 a developer, I want to be able to specify {{weight}} and {{size}} of the SFSymbols API. Also, currently, system images cannot be used in the navigation-bar. The following test case should work:\r\n{code:js}\r\nconst win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nconst nav = Ti.UI.createNavigationWindow({ window: win });\r\n\r\nconst btn = Ti.UI.createButton({\r\n image: Ti.UI.iOS.systemImage('greetingcard')\r\n});\r\n\r\nbtn.addEventListener('click', alert);\r\n\r\nwin.add(Ti.UI.createButton({\r\n image: Ti.UI.iOS.systemImage('greetingcard', { weight: 'heavy', size: 60 }),\r\n tintColor: '#fff',\r\n width: 100,\r\n height: 100,\r\n backgroundColor: 'red'\r\n}));\r\n\r\nwin.rightNavButton = btn;\r\nnav.open();\r\n\r\n{code}", "attachment": [ { "id": "67857", "filename": "Simulator Screen Shot - iPhone 12 Pro - 2021-03-27 at 11.09.49.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-03-27T10:09:58.000+0000", "size": 76880, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Be able to specify parameters (weight, size) in SFSymbols API", "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": "458487", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/12665", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-03-26T13:36:54.000+0000", "updated": "2021-03-26T13:36:54.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }