Problem
TableView searchBar isn't correctly resized when rotated from landscape to portrait, when the tableView has an 'index' (on the right 0-20).
See attached screenshots
Test case
Ti.UI.setBackgroundColor('#000');
var tabGroup = Ti.UI.createTabGroup();
var win = Ti.UI.createWindow({
title: 'title',
tabBarHidden: true
});
var tab = Ti.UI.createTab({
window: win
});
tabGroup.addTab(tab);
tabGroup.open();
var table = Ti.UI.createTableView({
search: Ti.UI.createSearchBar()
});
win.add(table);
var fillTableView = function() {
var tableData = [];
var header = '';
var index = [];
var i = 0;
for ( var i = 0; i <= 20; i++ ) {
var row = Ti.UI.createTableViewRow({
title: 'test'
});
index.push({
title: i+'',
index: i
});
tableData.push( row );
}
table.data = tableData;
table.index = index;
};
fillTableView();
Closing this ticket as the issue cannot be reproduced with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170606103146 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131