{ "id": "87641", "key": "TIMOB-7947", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-02T12:45:11.000+0000", "created": "2012-03-09T10:37:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_view", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15646", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "86856", "key": "TIMOB-7784", "fields": { "summary": "Android: TableView shows only partial rows", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-02T12:45:11.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": "Steps To Reproduce:\r\n1. Compile the app.js below:\r\n\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor:'#fff'\r\n});\r\n\r\n// draw a view that fills the window and set its layout property\r\nvar view = Ti.UI.createView({\r\n backgroundColor:'transparent',\r\n top:0,\r\n left:0,\r\n width:'100%',\r\n height: '100%',\r\n layout:'vertical'\r\n});\r\nvar tbl_data = [];\r\nfor (var i = 0; i < 50; i++) {\r\n var row = Ti.UI.createTableViewRow();\r\n var label = Ti.UI.createLabel({\r\n left: 10,\r\n text: 'Row ' + (i+1)\r\n });\r\n \r\n row.add(label);\r\n tbl_data.push(row);\r\n}\r\nvar view1 = Ti.UI.createView({\r\n backgroundColor:'red',\r\n top:0,\r\n left:0,\r\n width:100,\r\n height:100,\r\n layout:'vertical'\r\n});\r\n// now assign that array to the table's data property to add those objects as rows\r\nvar table = Titanium.UI.createTableView({\r\n\t//top: 100,\r\n\theight: 'auto',\r\n data:tbl_data\r\n});\r\nview.add(view1);\r\nview.add(table);\r\nwindow.add(view);\r\nwindow.open();\r\n{code}\r\n\r\nActual:\r\nMissing red box added to the view\r\n\r\nExpected:\r\nTo display a red box on the top of the view and the table view after", "attachment": [ { "id": "26260", "filename": "correct.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T14:08:29.000+0000", "size": 16257, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableView: Setting vertical layout does not display all the items added to the view correctly", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.0.v20120308234731\r\nDevice: iPhone 4s 5.0.1\r\nStudio: Titanium Studio, build: 1.0.9.201202141208\r\n", "comment": { "comments": [ { "id": "186687", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\n\r\nSDK: 2.0.0.v20120315140247\r\nStudio: 2.0.0.201203142055\r\nOS: Snow Leopard\r\nDevices Tested: iPhone Simulator 5.0, iPhone4 5.0.1, , iPad2 5.1", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T14:14:30.000+0000", "updated": "2012-03-15T14:14:30.000+0000" }, { "id": "189521", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to update tag", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-02T12:44:26.000+0000", "updated": "2012-04-02T12:44:26.000+0000" }, { "id": "189522", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ported same test case from TIMOB-7784", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-02T12:45:11.000+0000", "updated": "2012-04-02T12:45:11.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }