[TIMOB-16461] iOS: Customise badge and close icon of TiUIDashboard items
GitHub Issue | n/a |
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | supportTeam |
Reporter | Eduardo Gomez |
Assignee | Unknown |
Created | 2014-02-14T02:19:14.000+0000 |
Updated | 2018-02-28T20:04:12.000+0000 |
Description
Feature Request
Customer have used the custom view (with image & label) and added to dashboardItem.
The 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.
Having 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.
Expected behavior
Badge number screen shoot: expected_1.png
Close button screen shoot: expected_2.png
Actual behavior
Following are the issues they faced:
1. "Close" (x) icon is not aligned in top-left corner of the image.
2. Badge icon was not displayed at the top-right of the image.
Screen shoot: DashBoard_iOS.jpg
Steps to reproduce
I have attached the sample code (Dashboard_11Feb14.zip) where Dashboard view is created.
Attachments
No comments