{ "id": "61152", "key": "TIMOB-520", "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": [ { "id": "11220", "name": "Release 1.1.0", "archived": true, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:22.000+0000", "created": "2011-04-15T02:30:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:22.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}
here's a test case:
\nvar win = Ti.UI.createWindow({
\nbackgroundColor:'#336699'
\n
\n});
\nvar scrollView = Ti.UI.createScrollView({
\ncontentHeight:'auto',\nlayout:'vertical',\nwidth:300,\nborderRadius:10,\nbackgroundColor:'#fff'
\n
\n});
\nvar view1 = Ti.UI.createView({
\nheight:250,\ntop:10,\nwidth:300,\nbackgroundColor:'orange'
\n
\n});
\nscrollView.add(view1);
\nvar view2 = Ti.UI.createView({
\nheight:250,\ntop:10,\nwidth:300,\nbackgroundColor:'red'
\n
\n});
\nscrollView.add(view2);
\nvar view3 = Ti.UI.createView({
\nheight:250,\ntop:10,\nwidth:300,\nbackgroundColor:'green'
\n
\n});
\nscrollView.add(view3);
\nwin.add(scrollView);
\nwin.open();