Project: titanium
Issue TIMOB-8775: iOS: ScrollView does not scroll if contentHeight and contentWidth are not provided
h3. Problem Scrollview in Release 2.0.x does not scroll if contentHeight and contentWidth are not provided. h3. Code Sample {noformat} var win = Ti.UI.createWindow({ backgroundColor:'white' }); var scrollView = Ti.UI.createScrollView({ top:10, left:5, layout: 'horizontal' }); var things = [ 'item1', 'item2', 'item3', 'item4', 'item5', 'item6' ]; for (var i = 0; i < things.length; i++) { var view = Ti.UI.createView({ height: 90, width: 140, top: 10, left: 10, backgroundColor: '#CCC' }); scrollView.add(view); }; win.add(scrollView); win.open(); {noformat}
Story points: 2