{ "id": "162457", "key": "AC-4339", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-10T17:16:26.000+0000", "created": "2016-08-08T06:53:57.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-10T17:16:26.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": [], "description": "Version: 5.4.0.v20160804185318\r\n\r\n*index.js:*\r\n{code:javascript}\r\n var scrollView = Ti.UI.createScrollView({\r\n\t\ttop: 0,\r\n\t\tleft: 0,\r\n\t\tright: 0,\r\n\t\tbottom: 0,\r\n scrollType: 'horizontal',\r\n\t\tbackgroundColor: 'yellow',\r\n\t});\r\n\tvar view= Ti.UI.createView({\r\n\t\tleft: 0,\r\n\t\ttop: 0,\r\n\t\tbottom: 0,\r\n\t\twidth: '1000dp',\r\n\t\tbackgroundColor: 'green',\r\n\t});\r\n\tscrollView.add(view);\r\n\t$.win.add(scrollView);\r\n\t$.win.open();\r\n{code}\r\n\r\nit seems that scroll view can't determine content size correctly.", "attachment": [], "flagged": false, "summary": "windows: scrollView doesn't work correctly", "creator": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nokia Lumia 625", "comment": { "comments": [ { "id": "392686", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could you provide screenshots and give details of your expected results?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-08T23:02:19.000+0000", "updated": "2016-08-08T23:02:19.000+0000" }, { "id": "392713", "author": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "video: http://take.ms/o2iu1\r\n\r\n\r\n{code:java}\r\n var scrollView = Ti.UI.createScrollView({\r\n\t\ttop: 0,\r\n\t\tleft: 0,\r\n\t\tright: 0,\r\n\t\tbottom: 0,\r\n\t\tscrollType: 'horizontal',\r\n\t\tbackgroundColor: 'yellow',\r\n\t});\r\n\tvar view = Ti.UI.createView({\r\n\t\t// image: '/icons/default.jpg',\r\n\t\tleft: 0,\r\n\t\ttop: 0,\r\n\t\tbottom: 0,\r\n\t\twidth: '1000dp',\r\n\t\tbackgroundColor: 'green',\r\n\t});\r\n\tview.add(Ti.UI.createView({\r\n\t\ttop: 0,\r\n\t\tbottom: 0,\r\n\t\twidth: '400dp',\r\n\t\tbackgroundColor: 'blue',\r\n\t\tleft: '100dp'\r\n\t}));\r\n\tscrollView.add(view);\r\n\t$.win.add(scrollView);\r\n\t$.win.open();\r\n{code}\r\n\r\n\r\nyou can see, that scroll view cuts content...", "updateAuthor": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-09T06:34:04.000+0000", "updated": "2016-08-09T06:34:04.000+0000" }, { "id": "392731", "author": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's working if set contentWidth of scrollView. But in 5.3.0 it's working without it, because of sometimes I don't know width of scrollview's content image.", "updateAuthor": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-09T14:04:51.000+0000", "updated": "2016-08-09T14:04:51.000+0000" }, { "id": "392759", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please test it on SDK 5.3.1.GA. Let us know if it still a problem or not.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-08-09T20:54:32.000+0000", "updated": "2016-08-09T20:54:32.000+0000" }, { "id": "392829", "author": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello.\r\n5.3.1.GA - working fine\r\n5.4.0.v20160809033140 - working fine!!!\r\n\r\nSo, it seems, you can close the ticket.", "updateAuthor": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-10T07:43:10.000+0000", "updated": "2016-08-10T07:43:10.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }