{ "id": "84067", "key": "TIMOB-6769", "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": "12092", "description": "", "name": "Sprint 2011-52", "archived": true, "released": true, "releaseDate": "2011-12-30" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:57:48.000+0000", "created": "2011-12-19T16:02:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableviewrow", "parity", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "15380", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86901", "key": "TIMOB-7794", "fields": { "summary": "Android: TableViewRow - Inconsistency of screen color ", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:41.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": "h4. PROBLEM DESCRIPTION\r\nCustomer wants to Set tableViewRow height using percentages. \r\n\r\nh4. STEPS TO REPRODUCE\r\n1. Create a window\r\n2. Create a tableViewRow with height '100%'\r\n3. Create a tableView\r\n4. Add the row to the tableView\r\n5. Add tv to window\r\n6. Open window\r\n\r\n\r\nh4. ACTUAL RESULTS \r\nA bunch of rows \r\n\r\nh4. EXPECTED RESULTS\r\nthe row height should be the height of the tableView\r\n\r\nh4. CODE\r\n\r\n{code:title=app.js|borderStyle=solid}\r\n\r\nvar win=Ti.UI.createWindow();\r\nvar tableview=Ti.UI.createTableView();\r\nvar tableviewrow=Ti.UI.createTableViewRow({\r\n\theight:'100%',\r\n});\r\ntableview.add(tableviewrow);\r\nwin.add(tableview);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Set tableViewRow height using percentages", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": null, "comment": { "comments": [ { "id": "177334", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Accurate functional test:\r\n\r\n{code}\r\nvar win=Ti.UI.createWindow();\r\nvar tableview=Ti.UI.createTableView({\r\n\tbackgroundColor:'blue'\r\n});\r\nvar tableviewrow=Ti.UI.createTableViewRow({\r\n\theight:'100%',\r\n\tbackgroundColor:'red'\r\n});\r\ntableview.setData([tableviewrow]);\r\nwin.add(tableview);\r\nwin.open();\r\n{code}\r\n\r\nIf the bug is fixed, the table will render so that no blue background is visible. Note that the table still scrolls and the separator is still visible, and to achieve the desired effect the table may need to be locked and row separators turned off.\r\n\r\nA better alternative to using a table row of 100% is to not display the table until data is loaded.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-27T14:57:21.000+0000", "updated": "2011-12-27T14:57:21.000+0000" }, { "id": "179118", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S, iPad 2 OS\r\n\r\nExpected result of the row height being the height of the table view is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T13:51:09.000+0000", "updated": "2012-01-12T13:51:09.000+0000" }, { "id": "184142", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-02-24T00:50:26.000+0000", "updated": "2012-02-24T00:50:26.000+0000" }, { "id": "283452", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4940\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T05:53:51.000+0000", "updated": "2013-12-10T05:53:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }