Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-535] headerTitle on a tableView doesn't wrap properly

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:26.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsbug, ios, iphone, tableview
ReporterJames Wragg
AssigneeJeff Haynie
Created2011-04-15T02:31:18.000+0000
Updated2011-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.

Comments

  1. James Wragg 2011-04-15

    It would also like to be able to provide a formatted Ti.UI.createLabel as the headerTitle

  2. Jeff Haynie 2011-04-15

    (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...

  3. Stephen Tramer 2011-04-15

    James -

    You can use headerView: to add whatever sort of view you would like as a header, including preformatted labels.

JSON Source