Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2348] ScrollView addView not functioning as expected ( SDK 3.2.0 )

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-01-14T04:04:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labels3.2.0GA, scrollview,, views
ReporterKevin Donkers
AssigneeRitu Agrawal
Created2014-01-13T09:45:48.000+0000
Updated2016-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

FileDateSize
expecting.png2014-01-13T09:45:48.000+0000340773
result.png2014-01-13T09:45:48.000+0000298600

Comments

  1. Ritu Agrawal 2014-01-14

    This appears to be a duplicate of TIMOB-16160. I have updated TIMOB-16160 to reflect that it is not specific to webviews.

JSON Source