{ "id": "169761", "key": "TIMOB-25273", "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": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-16T16:52:43.000+0000", "created": "2017-09-13T13:10:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" }, { "id": "19870", "description": "", "name": "Release 6.1.2", "archived": false, "released": true, "releaseDate": "2017-08-03" }, { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "55953", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158366", "key": "TIMOB-22416", "fields": { "summary": "Ti.UI.TableView Test Suite: Titanium.UI.TableView Acceptance TIMOB-5238", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "55969", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169801", "key": "TIMOB-25298", "fields": { "summary": "Windows: ListItem is not occupying the full width of ListView", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-17T14:40:04.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen using Ti.UI.FILL (or setting width to a suitable number), a TableViewRow will never fill the size of the TableView and there will be padding on either side of the TableViewRow.\r\n\r\nCode has border to attempt to highlight where the TableViewRow ends, you will notice TIMOB-24855 in this test case too\r\n\r\nI tried playing around with the [XAML ListView example|https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlListView] and that seems to always go to the edge so I don't think it's a platform limitation\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({ backgroundColor: 'green' });\r\nvar row = Titanium.UI.createTableViewRow({\r\n width: Ti.UI.FILL,\r\n height: 150,\r\n backgroundColor: 'blue',\r\n borderWidth: 4,\r\n borderColor: 'pink'\r\n\r\n});\r\nvar data = [row];\r\nvar table = Titanium.UI.createTableView({\r\n width: Ti.UI.FILL,\r\n data: data,\r\n borderWidth: 4,\r\n borderColor: 'blue',\r\n width: 600\r\n});\r\n_window.add(table);\r\n_window.open()\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add above code to an existing app.js and build for Windows\r\n\r\nh5.Actual\r\n\r\nTableViewRow has padding on left and right, not filling TableView\r\n\r\nh5.Expected\r\n\r\nTableViewRow should size to fit the TableView (to edge of the blue border)", "attachment": [ { "id": "63248", "filename": "desktop.png", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-13T13:10:12.000+0000", "size": 21151, "mimeType": "image/png" }, { "id": "63247", "filename": "mobile.png", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-13T13:10:20.000+0000", "size": 6171, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: TableViewRow does not fill size of TableView", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDk 6.0.4.GA, 6.1.2.GA, 6.2.0.v20170912203804, 7.0.0.v20170906135653", "closedSprints": [ { "id": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "428513", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1120", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-27T08:56:52.000+0000", "updated": "2017-09-27T08:56:52.000+0000" }, { "id": "428550", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1121", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-27T23:54:24.000+0000", "updated": "2017-09-27T23:54:24.000+0000" }, { "id": "429184", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK version: 6.3.0.v20171017063048 and SDK version: 7.0.0.v20171017022901.\r\n\r\nTest and other information can be found at: \r\n6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1121\r\nMaster: https://github.com/appcelerator/titanium_mobile_windows/pull/1120", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-17T14:39:57.000+0000", "updated": "2017-10-17T14:39:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }