[TIMOB-13437] iOS: TableViewSection headerView height set as 'auto', not Ti.UI.SIZE
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Pablo Guevara |
Assignee | Unknown |
Created | 2012-12-04T16:35:51.000+0000 |
Updated | 2018-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
File | Date | Size |
example.js | 2012-12-04T16:35:51.000+0000 | 1065 |
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.