PROBLEM DESCRIPTION
Customer wants to Set tableViewRow height using percentages.
STEPS TO REPRODUCE
1. Create a window
2. Create a tableViewRow with height '100%'
3. Create a tableView
4. Add the row to the tableView
5. Add tv to window
6. Open window
ACTUAL RESULTS
A bunch of rows
EXPECTED RESULTS
the row height should be the height of the tableView
CODE
var win=Ti.UI.createWindow();
var tableview=Ti.UI.createTableView();
var tableviewrow=Ti.UI.createTableViewRow({
height:'100%',
});
tableview.add(tableviewrow);
win.add(tableview);
win.open();
Accurate functional test:
If the bug is fixed, the table will render so that no blue background is visible. Note that the table still scrolls and the separator is still visible, and to achieve the desired effect the table may need to be locked and row separators turned off. A better alternative to using a table row of 100% is to not display the table until data is loaded.
Closing issue Tested with Ti Studio 1.0.8.201201101928 Ti Mob SDK 1.9.0.v20120111233134 OSX Lion iPhone 4S, iPad 2 OS Expected result of the row height being the height of the table view is shown
Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4940