Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16461] iOS: Customise badge and close icon of TiUIDashboard items

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
LabelssupportTeam
ReporterEduardo Gomez
AssigneeUnknown
Created2014-02-14T02:19:14.000+0000
Updated2018-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

FileDateSize
Dashboard_11Feb14.zip2014-02-14T02:19:14.000+00001473414
DashBoard_iOS.jpg2014-02-14T02:22:17.000+0000136398
expected_1.png2014-02-14T02:19:14.000+000088230
expected_2.jpg2014-02-14T02:19:14.000+0000200811

Comments

No comments

JSON Source