{ "id": "155126", "key": "TIMOB-20460", "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": "2016-02-25T12:16:03.000+0000", "created": "2016-02-25T10:12:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "50696", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154855", "key": "TIMOB-20385", "fields": { "summary": "Windows: ScrollView does not respect `top` property on views", "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 } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-25T12:16:03.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "{{ScrollableView}} should respect {{top}} property on child views.\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"#7B6700\",\r\n layout: \"vertical\"\r\n});\r\nvar NavBarView = Ti.UI.createView({\r\n height: \"25\",\r\n top: 0,\r\n backgroundColor: \"green\",\r\n width: \"100%\"\r\n});\r\nvar scrollView = Ti.UI.createScrollableView({\r\n height: '50%',\r\n width: Ti.UI.FILL,\r\n scrollType: \"vertical\",\r\n layout: \"vertical\",\r\n backgroundColor: \"gray\"\r\n});\r\nvar view1 = Ti.UI.createView({\r\n backgroundColor:'white',\r\n top: 20, left: 20\r\n});\r\nvar button = Ti.UI.createButton({\r\n title: \"Click\",\r\n width: \"100\",\r\n height: \"50\",\r\n backgroundColor: 'blue',\r\n top: 20, left: 20\r\n});\r\nview1.add(button);\r\nscrollView.views = [ view1 ];\r\nwin.add(NavBarView);\r\nwin.add(scrollView);\r\nscrollView.addEventListener(\"postlayout\", function (e) {\r\n Ti.API.info(JSON.stringify(button.rect));\r\n});\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: ScrollableView does not respect `top` property on views", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 574, "state": "closed", "name": "2016 Sprint 4 SDK", "startDate": "2016-02-13T01:33:48.415Z", "endDate": "2016-02-27T01:33:00.000Z", "completeDate": "2016-02-29T03:44:48.886Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "377870", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue actually does not happen. Closing.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-25T12:16:03.000+0000", "updated": "2016-02-25T12:16:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }