Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28239] iOS: TableViewRow does not scale to height of parent

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2020-11-09T17:40:26.000+0000
Updated2020-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.

Comments

No comments

JSON Source