{ "id": "126414", "key": "TIMOB-16461", "fields": { "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": [], "resolution": null, "resolutiondate": null, "created": "2014-02-14T02:19:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [ { "id": "41205", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136660", "key": "TIMOB-17703", "fields": { "summary": "\"Ti.UI.Dashboarditem\" badges are not correctly displayed on iPhone 6/6+ simulator", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:12.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": "h6.Feature Request\r\nCustomer have used the custom view (with image & label) and added to dashboardItem. \r\n\r\nThe issue is that they have implemented the dashboardView by adding a view which contains an imageView and a label to dashboardItems. When they do longpress on a dashboardItem the delete icon that is supposed to show up on the top left side of the item appears in the centre. \r\n\r\nHaving the text as part of the image is not an option for them because they need to be able to translate the strings to many different languages.\r\n\r\nh6.Expected behavior\r\nBadge number screen shoot: expected_1.png\r\nClose button screen shoot: expected_2.png\r\n\r\nh6.Actual behavior\r\nFollowing are the issues they faced:\r\n1. \"Close\" (x) icon is not aligned in top-left corner of the image. \r\n2. Badge icon was not displayed at the top-right of the image.\r\n\r\nScreen shoot: DashBoard_iOS.jpg\r\n\r\nh6.Steps to reproduce\r\nI have attached the sample code (Dashboard_11Feb14.zip) where Dashboard view is created. \r\n", "attachment": [ { "id": "45924", "filename": "Dashboard_11Feb14.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T02:19:14.000+0000", "size": 1473414, "mimeType": "application/zip" }, { "id": "45927", "filename": "DashBoard_iOS.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T02:22:17.000+0000", "size": 136398, "mimeType": "image/jpeg" }, { "id": "45925", "filename": "expected_1.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T02:19:14.000+0000", "size": 88230, "mimeType": "image/png" }, { "id": "45926", "filename": "expected_2.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T02:19:14.000+0000", "size": 200811, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: Customise badge and close icon of TiUIDashboard items", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 4, "total": 4, "startAt": 0 } } }