{ "id": "103835", "key": "AC-2127", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-01-25T18:14:07.000+0000", "created": "2012-10-24T14:51:21.000+0000", "labels": [ "android", "tableview", "tableviewsection" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:06.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hello,\r\n\r\nI'm applying a top 40 to my label inside a TableViewSection headerView, and it doesn't have any effect.\r\n\r\nIf I set a fixed height to TableViewSection headerView it doesn't have any effect too.\r\n\r\n{code}\r\nvar headerView = Ti.UI.createView({\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\tbackgroundColor: \"#FF0000\"\r\n});\r\n\r\nheaderView.add(Ti.UI.createView({\r\n\tleft: \"13dp\",\r\n\tright: \"13dp\",\r\n\tbottom: 0,\r\n\theight: \"1dp\",\r\n\tbackgroundColor: \"#FFFFFF\"\r\n});\r\n\r\nheaderView.add(Ti.UI.createLabel({\r\n\ttext: \"Foobar\",\r\n\tleft: \"13dp\",\r\n\tright: \"13dp\",\r\n\tbottom: \"3dp\",\r\n\ttop: \"40dp\",\r\n\tcolor: \"#FFFFFF\",\r\n\tfont: { fontSize: \"14dp\", fontWeight: \"bold\" }\r\n});\r\n{code}", "attachment": [ { "id": "32930", "filename": "2012-10-24 12.49.19.png", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-10-24T14:51:21.000+0000", "size": 419793, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TableViewSection headerView have a fixed height?", "creator": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Titanium SDK 3.0.0.v20121019153308, Android 4.1.2 - Nexus S", "comment": { "comments": [ { "id": "228450", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\nPlease change your test case to something which we can drop into a new project and run.\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T18:28:51.000+0000", "updated": "2012-11-26T18:28:51.000+0000" }, { "id": "235923", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've set this to resolved so that the issue can now be edited to provide more info.\r\nThanks,\r\nDaniel", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T18:14:07.000+0000", "updated": "2013-01-25T18:14:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }