{ "id": "94811", "key": "TIMOB-9929", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "2012-07-10T18:49:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "backgroundcolor", "button" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "21845", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "91949", "key": "TIMOB-9188", "fields": { "summary": "iOS: navBarButtonTint", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:34.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "With iOS 5, we now have the ability to customize aspects of iOS's button (and other views) that we previously have not. But in investigating a pull request, it has become obvious that there is an impedance mismatch with what Titanium exposes as backgroundColor (The color that most of the view is filled with) and what UIButton uses as backgroundColor (The color filling in the unused rectangle of the view) and tintColor (The color used by the button depending on circumstances).\r\n\r\nButton, plain:\r\nButton, in Navigation bar:\r\nButton, rounded rectangle:\r\nButton, with background image:\r\nButton, info\r\nButton, in Toolbar:\r\n\r\n(To be filled in further to show all the edge cases)", "attachment": [], "flagged": false, "summary": "TiAPI: Reconcile UI.Button's background color qualities, especially in context of iOS's UIButton tint.", "creator": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "203067", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "Wouldn't it make sense to implement one of the most common use cases, which is coloring the buttons in a nav bar context. Currently, they just adopt the navbar color.", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-12T18:06:22.000+0000", "updated": "2012-07-12T18:06:22.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }