[TIMOB-535] headerTitle on a tableView doesn't wrap properly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:53:26.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.3.0 |
| Components | iOS |
| Labels | bug, ios, iphone, tableview |
| Reporter | James Wragg |
| Assignee | Jeff Haynie |
| Created | 2011-04-15T02:31:18.000+0000 |
| Updated | 2011-04-17T01:53:26.000+0000 |
Description
If specifying a long piece of text when using the headerTitle property on a tableView it doesn't wrap.
It would also like to be able to provide a formatted Ti.UI.createLabel as the headerTitle
(from [f549a3c42aac10a18028f1a30ff4f7b5779efda7]) Closes #535: Table view headers can now be multi-line. http://github.com/appcelerator/titanium_mobile/commit/f549a3c42aac10a18028f1a30ff4f7b5779efda7"> http://github.com/appcelerator/titanium_mobile/commit/f549a3c42aac1...
James -
You can use headerView: to add whatever sort of view you would like as a header, including preformatted labels.