[AC-2348] ScrollView addView not functioning as expected ( SDK 3.2.0 )
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2014-01-14T04:04:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | 3.2.0GA, scrollview,, views |
Reporter | Kevin Donkers |
Assignee | Ritu Agrawal |
Created | 2014-01-13T09:45:48.000+0000 |
Updated | 2016-03-08T07:41:22.000+0000 |
Description
In older SDK to fill the ScrollableView I used;
var scroll = Ti.UI.createScrollableView({
showPagingControl : false,
scrollingEnabled : false,
backgroundColor : 'transparent',
top : '55dp'
});
var step = Ti.UI.createView({
width : '470dp'
});
scroll.addView(step);
Since the update to iOS 7 the interface doesn't fill out well (see attachments) using this. I have to use the following to fix it now;
var scrollTerms = Ti.UI.createScrollableView({
showPagingControl : false,
scrollingEnabled : false,
backgroundColor : 'transparent',
top : '55dp',
views : [step]
});
This makes it not possible to automatically add the views.
Attachments
This appears to be a duplicate of TIMOB-16160. I have updated TIMOB-16160 to reflect that it is not specific to webviews.