Description
When a headerView has has a bigger width than the TableView it is added to, it does not seem to be sized correctly based off the behaviour of other platforms
var _window = Ti.UI.createWindow();
var headerView = Ti.UI.createView({
height: 90,
width: 300,
borderColor: 'green',
borderWidth: 5,
backgroundColor: 'red'
});
var tableView = Ti.UI.createTableView({
width: 250,
data: [{title:'foo'}],
headerView: headerView
});
_window.add(tableView);
_window.open();
Steps to reproduce
Add the above to an existing app.js
Build for a windows target
Actual
View overflows the tableview constraints
Expected
Based off other platforms, should stick to the width of the tableview
https://github.com/appcelerator/titanium_mobile_windows/pull/1035
https://github.com/appcelerator/titanium_mobile_windows/pull/1065
Merged to 6_2_X https://github.com/appcelerator/titanium_mobile_windows/pull/1079
Verified in 6.2.0.v20170821001430, closing ticket