{ "id": "168418", "key": "TIMOB-24826", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2021-02-11T12:13:57.000+0000", "created": "2017-06-15T12:51:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "55940", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158428", "key": "TIMOB-22478", "fields": { "summary": "Ti.UI.TableView Test Suite: Titanium.UI.TableViewSection TIMOB-10166", "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": "55934", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158456", "key": "TIMOB-22506", "fields": { "summary": "Ti.UI.TableView Test Suite: Titanium.UI.TableView Acceptance TIMOB-12500", "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 } } } } ], "assignee": null, "updated": "2021-02-11T12:13:57.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\nA tableview set to Ti.UI.SIZE does not size itself correctly to fit the contents \r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\nvar rows = [];\r\nfor (var i = 0; i < 5; i++) {\r\n var row = Ti.UI.createTableViewRow({\r\n width: 100,\r\n height: 50,\r\n backgroundColor: 'blue',\r\n\r\n });\r\n rows.push(row);\r\n};\r\nvar table = Ti.UI.createTableView({\r\n data: rows,\r\n borderWidth: 1,\r\n borderRadius: 30,\r\n borderColor: 'blue',\r\n rowHeight: 50,\r\n top: 100,\r\n left: 100,\r\n right: 100,\r\n height: Ti.UI.SIZE\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 the above to an existing app.js\r\n# Build for a windows target\r\n\r\nh5.Actual\r\n\r\nTableView does not size to fit the contents\r\n\r\nh5.Expected\r\n\r\nBased off other platforms, the TableView should size to fit the contents", "attachment": [], "flagged": false, "summary": "Windows: TableView with Ti.UI.SIZE does not size to fit contents", "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.1.1.v20170614134051\r\nAppc Core: 6.2.2\r\nAppc NPM: 4.2.9\r\nLumia 550 10.0\r\n10.0 ws-local", "closedSprints": [ { "id": 978, "state": "closed", "name": "2017 Sprint 25 SDK", "startDate": "2017-12-03T23:22:15.144Z", "endDate": "2017-12-17T23:22:00.000Z", "completeDate": "2017-12-18T22:32:02.770Z", "originBoardId": 114 }, { "id": 963, "state": "closed", "name": "2017 Sprint 22 SDK", "startDate": "2017-10-22T21:43:59.523Z", "endDate": "2017-11-05T22:43:00.000Z", "completeDate": "2017-11-06T16:33:42.425Z", "originBoardId": 114 }, { "id": 984, "state": "closed", "name": "2017 Sprint 26 SDK", "startDate": "2017-12-17T22:34:59.726Z", "endDate": "2017-12-31T22:34:00.000Z", "completeDate": "2018-01-02T16:57:05.655Z", "originBoardId": 114 }, { "id": 985, "state": "closed", "name": "2018 Sprint 01 SDK", "startDate": "2017-12-31T16:58:54.631Z", "endDate": "2018-01-14T16:58:00.000Z", "completeDate": "2018-01-17T22:44:27.028Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }