{ "id": "90431", "key": "TIMOB-8775", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13401", "description": "Sprint 2012-09 Core", "name": "Sprint 2012-09 Core", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-26T15:51:56.000+0000", "created": "2012-04-17T16:54:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_scrollview", "qe-testadded" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "16696", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90423", "key": "TIMOB-8773", "fields": { "summary": "iOS: contentWidth is broken", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16869", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90923", "key": "TIMOB-8898", "fields": { "summary": "Android: Support FILL behavior on contentWidth/contentHeight property of scroll view", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-09T10:09:04.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": "h3. Problem\r\nScrollview in Release 2.0.x does not scroll if contentHeight and contentWidth are not provided.\r\n\r\nh3. Code Sample\r\n{noformat}\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n top:10,\r\n left:5,\r\n layout: 'horizontal'\r\n});\r\n \r\nvar things = [\r\n 'item1',\r\n 'item2',\r\n 'item3',\r\n 'item4',\r\n 'item5',\r\n 'item6' ];\r\n \r\nfor (var i = 0; i < things.length; i++) {\r\n \r\n var view = Ti.UI.createView({\r\n height: 90,\r\n width: 140,\r\n top: 10,\r\n left: 10,\r\n backgroundColor: '#CCC'\r\n });\r\n \r\n scrollView.add(view);\r\n \r\n};\r\n\r\nwin.add(scrollView);\r\n\r\nwin.open();\r\n\r\n{noformat}", "attachment": [], "flagged": false, "summary": "iOS: ScrollView does not scroll if contentHeight and contentWidth are not provided", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Platform OS: iOS\r\nTitanium SDK: 2.0.X", "comment": { "comments": [ { "id": "192831", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR 2073", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-26T15:51:56.000+0000", "updated": "2012-04-26T15:51:56.000+0000" }, { "id": "198566", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with SDK 2.1.0.v20120614124151 and iPhone 4 (5.0.1)", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T15:12:22.000+0000", "updated": "2012-06-14T15:12:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }