[TIMOB-28239] iOS: TableViewRow does not scale to height of parent
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2020-11-09T17:40:26.000+0000 |
Updated | 2020-11-09T17:40:45.000+0000 |
Description
- Specifying
Ti.UI.FILL
or '100%'
for TableViewRow.height
does not scale to the parent TableView.height
.
*TEST*
const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
const row = Ti.UI.createTableViewRow({
height: Ti.UI.FILL,
title: 'View should fill TableView parent',
backgroundColor: 'red'
});
const table = Ti.UI.createTableView({
backgroundColor: 'white',
data: [ row ]
});
win.add(table);
win.open();
*EXPECTED*
- TableViewRow
scales to parent TableView
_height_.
*ACTUAL*
- TableViewRow
contents are scaled to zero and are hidden.
No comments