[TIMOB-520] scroll view + vertical layout not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.1.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:30:55.000+0000 |
Updated | 2011-04-17T01:53:22.000+0000 |
Description
here's a test case:
var win = Ti.UI.createWindow({
backgroundColor:'#336699'
});
var scrollView = Ti.UI.createScrollView({
contentHeight:'auto',
layout:'vertical',
width:300,
borderRadius:10,
backgroundColor:'#fff'
});
var view1 = Ti.UI.createView({
height:250,
top:10,
width:300,
backgroundColor:'orange'
});
scrollView.add(view1);
var view2 = Ti.UI.createView({
height:250,
top:10,
width:300,
backgroundColor:'red'
});
scrollView.add(view2);
var view3 = Ti.UI.createView({
height:250,
top:10,
width:300,
backgroundColor:'green'
});
scrollView.add(view3);
win.add(scrollView);
win.open();
(from [db3d4be08a6a92525ed53f12593d9e8909c71459]) Closes #520 http://github.com/appcelerator/titanium_mobile/commit/db3d4be08a6a92525ed53f12593d9e8909c71459"> http://github.com/appcelerator/titanium_mobile/commit/db3d4be08a6a9...