Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13437] iOS: TableViewSection headerView height set as 'auto', not Ti.UI.SIZE

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterPablo Guevara
AssigneeUnknown
Created2012-12-04T16:35:51.000+0000
Updated2018-02-28T20:04:17.000+0000

Description

If a tableView with GROUPED style (iOS only) has TableViewSection with custom headerView, the headersView's height will be fixed with the "auto" property instead of Ti.UI.SIZE (not tested on PLAIN tableView's style). I put an example code.

Attachments

FileDateSize
example.js2012-12-04T16:35:51.000+00001065

Comments

  1. Daniel Sefton 2013-04-06

    Tested and confirmed on 2.1.4 GA, 3.0.2 GA and 3.1 CI. Note that 'auto' actually defaults to Ti.UI.FILL on table views, however Ti.UI.FILL doesn't work either and I think it's due to a problem with the label itself not resizing. Someone else in the community said "FILL works, but the height information on label is still not there right after I add it to a view". Same behavior with PLAIN style.

JSON Source