[TIMOB-321] iPhone: Long headers in custom GroupedViews don't display correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-07-25T17:21:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.2 |
Components | iOS |
Labels | custom, defect, groupedview, header, ios, iphone |
Reporter | James K |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:27:16.000+0000 |
Updated | 2011-07-25T18:11:09.000+0000 |
Description
Long headers in custom GroupedViews don't display correctly when a text color is not specified.
The problem can be reproduced by making these changes to custom_grouped_view.html in KitchenSink:
- In section 1, amend the header from
Header
toThis grouped view provides an example of an unusually long header
. - In section 1, omit the line which reads
color:'white'
.
When the color parameter is omitted, the start of the header is forced off the top of the screen and can't be seen.
The expected result is that which occurs when a text color is specified - i.e. the header is truncated and an ellipsis is added. (But note that there have been http://support.appcelerator.net/discussions/support/661-overlapping-text-in-groupedsection"> other requests for this behaviour to be modified e.g. by optionally text-wrapping instead of truncating.)
Examples and screenshots
http://support.appcelerator.net/discussions/titanium-mobile-discussion/1049-header-in-custom-grouped-view"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
http://support.appcelerator.net/discussions/titanium-mobile-discussion/1115-long-header-not-displaying-correctly-with-grouped-view"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
http://support.appcelerator.net/discussions/titanium-mobile-discussion/1131-since-upgrading-to-08-this-has-been-happening"> http://support.appcelerator.net/discussions/titanium-mobile-discuss...
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.
Issue is not valid, does not reproduce in: TiMOB sdk version 1.7.2 Studio version 1.0.2 OS version Mac OSX Lion Devices tested on – iPhone Simulator, iPhone 4.2.9