{ "id": "64709", "key": "TIMOB-3667", "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": "11355", "description": "Mobile 1.8.0 M02", "name": "Sprint 2011-23", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-06-06T15:47:34.000+0000", "created": "2011-04-25T11:03:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:32:07.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": "h1. Problem\nIn iOS, when setting the style of a table to grouped (iPhone) - the child object contents (tableviewrow and its children as well like images, views, etc) are not correctly bound by the table's borders. They flow beyond the table.\n\nh2. Sample Code\nBelow is sample code to reproduce the problem - the red box should be bound by the row it is in. Instead, it spills out.\n\n{code:javascript}\nvar win = Ti.UI.createWindow({\n backgroundColor: '#000', layout: 'vertical'\n});\n\nwin.add(Ti.UI.createLabel({\n text: 'Ti.UI.iPhone.TableViewStyle.GROUPED\\nRow children extend past row borders:',\n color: '#fff',\n height: 'auto'\n}));\nvar table = Ti.UI.createTableView({\n height: 100,\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\n borderRadius: 10\n});\nvar row = Ti.UI.createTableViewRow();\nrow.add(Ti.UI.createView({\n left: -5, opacity: 0.5,\n size: { width: 50, height: 50 },\n backgroundColor: 'red'\n}));\ntable.appendRow(row);\nwin.add(table);\n\nwin.open();\n{code}\n\nh2. Tested On\nTitanium SDK version: 1.7.0 (04/05/11 10:30 731db9c...)\n\nh2. Associated Helpdesk Ticket\nhttp://support-admin.appcelerator.com/display/APP-386446", "attachment": [], "flagged": false, "summary": "iOS: Grouped Table, Contents Spill Out of Row Borders", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "BROKEN in iPhone Simulator 4.3", "comment": { "comments": [ { "id": "140664", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is how Grouped tables work in Apple's UITableView. Grouped tables are not clipped the same way as Plain tables. Your javascript explicitly set the table style to Grouped, and specified negative bounds for the row's embedded view.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-06T15:47:34.000+0000", "updated": "2011-06-06T15:47:34.000+0000" }, { "id": "408482", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:32:07.000+0000", "updated": "2017-03-02T19:32:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }