Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-520] scroll view + vertical layout not working

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:22.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.1.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:30:55.000+0000
Updated2011-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();

Comments

  1. Jeff Haynie 2011-04-15

    (from [db3d4be08a6a92525ed53f12593d9e8909c71459]) Closes #520 http://github.com/appcelerator/titanium_mobile/commit/db3d4be08a6a92525ed53f12593d9e8909c71459"> http://github.com/appcelerator/titanium_mobile/commit/db3d4be08a6a9...

JSON Source