{ "id": "151372", "key": "TIMOB-19565", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-22T22:51:31.000+0000", "created": "2015-09-22T04:15:40.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "listview" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2015-10-13T20:11:36.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": "The default height of the UITableView section header is 29px, we currently use 20px. See the screenshot for comparison. \r\n\r\nThe fix is simple: Increase the value of the macro {{DEFAULT_SECTION_HEADERFOOTER_HEIGHT}} inside the TiUIListView.m from 20 to 29 and check the results.\r\n\r\n*Demo code*:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n title : 'UITableView',\r\n backgroundColor : '#fff'\r\n});\r\n\r\nvar list = Ti.UI.createListView();\r\nvar sec = Ti.UI.createListSection({headerTitle: \"Test\"});\r\nvar item = {properties: {title: \"Title\"}};\r\nsec.setItems([item,item,item]);\r\nlist.setSections([sec,sec]);\r\nwin.add(list);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "56793", "filename": "UITableView.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-22T04:14:16.000+0000", "size": 36394, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableView header has wrong default height", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti.SDK: 5.0.0.GA\r\niOS7/8/9", "closedSprints": [ { "id": 485, "state": "closed", "name": "2015 Sprint 19 SDK", "startDate": "2015-09-12T00:30:29.539Z", "endDate": "2015-09-26T00:30:00.000Z", "completeDate": "2015-09-28T02:29:14.458Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "364571", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Comparison after adjusting the height: http://abload.de/img/uitableview-fixed9wuml.png", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-22T04:17:02.000+0000", "updated": "2015-09-22T04:17:02.000+0000" }, { "id": "364672", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7221", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-22T17:32:31.000+0000", "updated": "2015-09-22T17:32:31.000+0000" }, { "id": "364737", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "APPROVED. PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-22T22:50:56.000+0000", "updated": "2015-09-22T22:50:56.000+0000" }, { "id": "366690", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, am able to see the corrected default height on sim and device build. \r\n\r\nOSX El Capitan 10.11\r\nStudio: 4.3.1.201509302304\r\nTi SDK: 5.2.0.v20151009071418\r\nAppc NPM: 4.2.1-1\r\nAppc CLI: 5.1.0-38", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-10-13T20:11:29.000+0000", "updated": "2015-10-13T20:11:29.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }