{ "id": "61003", "key": "TIMOB-371", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:28:09.000+0000", "created": "2011-04-15T02:28:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:16:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

have created a composite view with webviews
\nwanting scrollable page with custom header/footer
\nscrollable view centres to screen instead of using y value in setup\nobject

\n

eg.
\nvar ViewBack =\nTitanium.UI.createWebView({url:'ViewBack.html'});
\nvar ViewText =\nTitanium.UI.createWebView({url:'ViewText.html'});

\n

var compositeViewAbout = Titanium.UI.createCompositeView();
\ncompositeViewAbout.addView(ViewBack,{x:0,y:0,width:320,height:460,zIndex:1});
\ncompositeViewAbout.addView(ViewText,{x:0,y:80,width:320,height:340,zIndex:2});

\n

all works fine the ViewText view scrolls - just that ViewText\nview centres to screen - not at 80.
\nis there a way to resolve this?

{html}", "attachment": [], "flagged": false, "summary": "Composite View Y Position [iPhone]", "creator": { "name": "antt", "key": "antt", "displayName": "antt", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "antt", "key": "antt", "displayName": "antt", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123181", "author": { "name": "antt", "key": "antt", "displayName": "antt", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

...worked it out!

\n

y value is ignored... top:80 works.

\n

any chance of documentation to show addView setup object\noptions?
\nthis was by chance i tried top... turned out to be lucky.

\n

Titanium SDK 0.8.2
\niPhone SDK 3.0, 3.1. 3.1.2

{html}", "updateAuthor": { "name": "antt", "key": "antt", "displayName": "antt", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:09.000+0000", "updated": "2011-04-15T02:28:09.000+0000" }, { "id": "123182", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Changes in codebase has mooted this since then.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:09.000+0000", "updated": "2011-04-15T02:28:09.000+0000" }, { "id": "410522", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:16:05.000+0000", "updated": "2017-03-09T21:16:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }