Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28383] Android: minRowHeight of tableview does not work

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-05-18T18:07:36.000+0000
Affected Version/sRelease 9.3.0, Release 9.3.1, Release 9.3.2
Fix Version/sRelease 10.0.0, Release 9.3.3
ComponentsAndroid
LabelsTableView, android, regression
ReporterLokesh Choudhary
AssigneeGary Mathews
Created2021-03-11T20:31:00.000+0000
Updated2021-05-18T18:07:40.000+0000

Description

Steps to reproduce:

1. Use the code below in your app.js:
const win = Ti.UI.createWindow({
	backgroundColor : 'white'
});
var rowItems = [];
for (var i = 0; i < 10; i++) {
	var row = Ti.UI.createTableViewRow({
		title : 'Apples',
		borderColor : 'red',
		borderWidth : 2,
	});
	row.add(Ti.UI.createLabel({
		color : 'black',
		text : i,
		touchEnabled : false,
		left : 0,
		width : Ti.UI.FILL
	}));
	rowItems.push(row);
}

var table = Ti.UI.createTableView({
	data : rowItems,
	minRowHeight : 100
});

win.add(table);
win.open();
2. Build for android device.

Actual result:

1. The minRowHeight property does not work.

Expected result:

1. The minRowHeight property works as expected.

Comments

  1. Gary Mathews 2021-03-12

    master: https://github.com/appcelerator/titanium_mobile/pull/12558
  2. Lokesh Choudhary 2021-03-15

    FR Passed.
  3. Christopher Williams 2021-03-16

    merged to master; 10_0_X for 10.0.0 target; and 9_3_X branch.

JSON Source