ScrollView
does not expand its size along with child content when
Ti.UI.SIZE
is specified.
var scrollView = Ti.UI.createScrollView({
height: Ti.UI.SIZE,
width: Ti.UI.SIZE,
scrollType: 'vertical',
layout: 'vertical',
backgroundColor: 'red'
});
var view1 = Ti.UI.createView({
width: '100',
height: '50',
backgroundColor: 'pink'
});
var view2 = Ti.UI.createView({
width: '200',
height: '100',
backgroundColor: 'green'
});
scrollView.add(view1);
scrollView.add(view2);
var win = Ti.UI.createWindow({
backgroundColor: 'white',
});
win.add(scrollView);
win.open();
Expected: !1.png|thumbnail!
https://github.com/appcelerator/titanium_mobile_windows/pull/1312
FR Passed
Verified fix in SDK version
8.0.0.v20181109074008
and7.5.0.v20181109170739
. Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile_windows/pull/1313 7_5_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1312