{ "id": "65547", "key": "TIMOB-4134", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" }, { "id": "12089", "description": "", "name": "Sprint 2011-49", "archived": true, "released": true, "releaseDate": "2011-12-12" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-04T11:07:33.000+0000", "created": "2011-05-18T13:00:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "merge-1.8.0", "module_tableview", "qe-testadded", "regression" ], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" }, { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T06:10:00.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": "Setting \"rowHeight\" or \"minRowHeight\" on an empty tableview (ie. no rows) used to result in the rows respecting the height. Now it seems the rows always default to the standard 44 height until rows are added.\r\n\r\nHere's a basic example:\r\n{code}\r\nTi.UI.createTableView({\r\n\trowHeight: 65\r\n})\r\n{code}\r\nThe workaround being used by the customer right now is to define the tableview as:\r\n{code}\r\nTi.UI.createTableView({\r\n\tdata: [{}],\r\n\trowHeight: 65\r\n})\r\n{code}\r\nThis used to work with the 1.4.2\r\n\r\nHelpdesk ticket:\r\nhttp://support.appcelerator.com/tickets/APP-445788/homepage", "attachment": [], "flagged": false, "summary": "iOS - rowHeight on tableView not working if data is empty", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iPhone Simulator", "comment": { "comments": [ { "id": "174861", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Needs to be examined to determine if this is still valid.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T10:42:48.000+0000", "updated": "2011-12-05T10:42:48.000+0000" }, { "id": "174942", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still valid. Occurs because tableview was nil during setting of the rowheight. Pull will be soon.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T15:23:24.000+0000", "updated": "2011-12-05T15:23:24.000+0000" }, { "id": "174956", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Full test code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\trowHeight: 65\r\n})\r\n\r\n//tableView.data = [{ title: 'foo'}, {title:'bar'}];\r\n\r\nwin.add(tableView);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-05T16:50:49.000+0000", "updated": "2011-12-05T16:50:49.000+0000" }, { "id": "175554", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug fixed. Verified on:\r\nSDK: 1.8.0.1.v20111209011840\r\nStudio: 1.0.7.201112080131\r\nOS: OS X Lion\r\nDevices Tested: iPhone Simulator 5.0", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T10:59:26.000+0000", "updated": "2011-12-09T10:59:26.000+0000" }, { "id": "177986", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add/remove labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T11:06:41.000+0000", "updated": "2012-01-04T11:06:41.000+0000" }, { "id": "283481", "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/5003\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T06:10:00.000+0000", "updated": "2013-12-10T06:10:00.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }