[TIMOB-28162] Android: TableViewRow does not scale to height of parent
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | Release 9.3.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2020-10-05T01:12:16.000+0000 |
| Updated | 2020-11-20T00:24:46.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.
master: https://github.com/appcelerator/titanium_mobile/pull/12029