{ "id": "80115", "key": "TIMOB-5238", "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": "12081", "description": "", "name": "Sprint 2011-41", "archived": true, "released": true, "releaseDate": "2011-10-17" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-18T11:17:45.000+0000", "created": "2011-09-08T23:25:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableview", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "13656", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "78903", "key": "TIMOB-4948", "fields": { "summary": "Cannot fill a tableViewRow with another view to 100% width (clipping)", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:18.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Remove the padding on the sides of the tableView\r\n\r\nAttached are screen shots of the padding or lack there of on ios and android.\r\n\r\nStep 1: run the code below\r\nStep 2: see the white to the right and left of the red tableViewRow\r\n\r\n{code:title=app.js}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar row = Titanium.UI.createTableViewRow();\r\nvar view = Titanium.UI.createView({backgroundColor:'red',height:50});\r\nrow.height = 'auto';\r\nrow.add(view);\r\n\r\nvar data = [row];\r\nvar table = Titanium.UI.createTableView({data:data});\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\nh4. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-459375", "attachment": [ { "id": "22873", "filename": "android.jpg", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T23:25:24.000+0000", "size": 24959, "mimeType": "image/jpeg" }, { "id": "22874", "filename": "iphone.jpg", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-08T23:25:24.000+0000", "size": 19414, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: remove padding on sides of tableView", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.2\r\nAndroid Emulator 2.3.3", "comment": { "comments": [ { "id": "168176", "author": { "name": "jvagliat@gmail.com", "key": "jvagliat@gmail.com", "displayName": "Pablo Vagliati", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please solve it. It is a big problem for us. Are there some way to fix it by me? Thanks in advance. I wait you contact, Thanks. Pablo. ", "updateAuthor": { "name": "jvagliat@gmail.com", "key": "jvagliat@gmail.com", "displayName": "Pablo Vagliati", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-06T15:10:03.000+0000", "updated": "2011-10-06T15:10:03.000+0000" }, { "id": "172493", "author": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I found my own work around to this issue. Try adding your tableview to a view that is the entire width of the window and set the left and right to '-5px' or '-5dp'. that gave me the result I was looking for. ", "updateAuthor": { "name": "ryanmarr934", "key": "ryanmarr934", "displayName": "Ryan Marr", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T07:47:19.000+0000", "updated": "2011-11-14T07:47:19.000+0000" }, { "id": "175072", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111205164258 v8/rhino on\r\nGalaxy 10.1 (3.1)\r\nDroid 1 (2.2.2)\r\nNexus S (2.3.6)\r\nEmulator (4.0)", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T15:15:50.000+0000", "updated": "2011-12-06T15:15:50.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }