{ "id": "60953", "key": "TIMOB-321", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-07-25T17:21:55.000+0000", "created": "2011-04-15T02:27:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "custom", "defect", "groupedview", "header", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-07-25T18:11:09.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": "{html}

Long headers in custom GroupedViews don't display correctly when\na text color is not specified.

\n

The problem can be reproduced by making these changes to\ncustom_grouped_view.html in KitchenSink:

\n
    \n
  1. In section 1, amend the header from Header to\nThis grouped view provides an example of an unusually long\nheader.
  2. \n
  3. In section 1, omit the line which reads\ncolor:'white'.
  4. \n
\n

When the color parameter is omitted, the start of the header is\nforced off the top of the screen and can't be seen.

\n

The expected result is that which occurs when a text color is\nspecified - i.e. the header is truncated and an ellipsis is added.\n(But note that there have been \nother requests for this behaviour to be modified e.g. by\noptionally text-wrapping instead of truncating.)

\n

Examples and screenshots

\n

\nhttp://support.appcelerator.net/discussions/titanium-mobile-discuss...

\n

\nhttp://support.appcelerator.net/discussions/titanium-mobile-discuss...

\n

\nhttp://support.appcelerator.net/discussions/titanium-mobile-discuss...

{html}", "attachment": [], "flagged": false, "summary": "iPhone: Long headers in custom GroupedViews don't display correctly", "creator": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jamesk", "key": "jamesk", "displayName": "James K", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "160545", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Custom_grouped_view.html (as described in bug) does not exist So, checked and changed views.js and table_views.js in Kitchen Sink application to make required changes and it works perfectly fine.\n", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-25T17:21:55.000+0000", "updated": "2011-07-25T17:21:55.000+0000" }, { "id": "160558", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is not valid, does not reproduce in:\r\n\r\nTiMOB sdk version 1.7.2\r\nStudio version 1.0.2\r\nOS version Mac OSX Lion\r\nDevices tested on – iPhone Simulator, iPhone 4.2.9", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-25T18:11:09.000+0000", "updated": "2011-07-25T18:11:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }