Project: titanium
Issue TIMOB-23693: Windows: setting a headerView/footerView for a listview without a height set on the view makes the view oversized
h5.Description When adding a headerView or footerView to a listView, if the views do not have a height set then the headerView or footerView {code} var win = Ti.UI.createWindow({backgroundColor:'green'}); var listView = Ti.UI.createListView(); var header = Ti.UI.createView({backgroundColor: "blue"}); var lbl = Ti.UI.createLabel({text:"Valid"}); header.add(lbl); var footer = Ti.UI.createView({backgroundColor: "blue"}); var lbl2 = Ti.UI.createLabel({text:"Invalid"}); footer.add(lbl2); var section = Ti.UI.createListSection({id:"Valid", headerView:header, footerView: footer}); var data = [	{properties: { title: 'Test text'}}, ]; section.setItems(data); listView.setSections([section]); win.add(listView); win.open(); {code} h5.Steps to reproduce # Using the code above build for Windows platform h5.Actual result The headerView and footerView will be bigger than they should be h5.Expected The headerView and footerView should be appropriately sized for the UI elements inside, as is the behaviour on iOS and Android
Story points: 5