{ "id": "159413", "key": "TIMOB-23225", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-14T18:41:41.000+0000", "created": "2016-04-08T10:02:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Ti.UI.SIZE", "Windows", "Windows-Phone" ], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-02T16:15:11.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": "Ti.UI.SIZE is not working properly on Windows Phone on a container with child views.\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nindex.tss\r\n{code:tss}\r\n\"Window\" : {\r\n\tbackgroundColor: \"white\"\r\n}\r\n\"#imageContainer\" : {\r\n\theight: Ti.UI.SIZE, width: Ti.UI.FILL\r\n}\r\n\"#large\" : {\r\n\timage: 'images/large.png',\r\n\theight: Ti.UI.SIZE, width: Ti.UI.FILL\r\n}\r\n\"#large[platform=android]\" : {\r\n\timage: '../../images/large.png'\r\n}\r\n\"#small\" : {\r\n\ttop: 0, right: 0,\r\n\timage: 'images/small.png',\r\n\theight: Ti.UI.SIZE, width: 100\r\n}\r\n\"#small[platform=android]\" : {\r\n\timage: '../../images/small.png'\r\n}\r\n{code}\r\n", "attachment": [ { "id": "59959", "filename": "8f1bdc96-2ce1-11e6-9627-6e99aaca5e2a.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-01T01:24:21.000+0000", "size": 2211, "mimeType": "image/png" }, { "id": "58866", "filename": "Android.png", "author": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-08T09:57:05.000+0000", "size": 53739, "mimeType": "image/png" }, { "id": "58865", "filename": "iOS.png", "author": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-08T09:57:05.000+0000", "size": 27719, "mimeType": "image/png" }, { "id": "58867", "filename": "Windows.png", "author": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-08T09:56:41.000+0000", "size": 14926, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Ti.UI.SIZE is not working properly on Windows Phone on a container with child views.", "creator": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "closedSprints": [ { "id": 641, "state": "closed", "name": "2016 Sprint 12 SDK", "startDate": "2016-06-04T00:30:28.612Z", "endDate": "2016-06-18T00:30:00.000Z", "completeDate": "2016-06-20T04:25:16.065Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "387836", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/740", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-08T09:37:35.000+0000", "updated": "2016-06-08T09:37:35.000+0000" }, { "id": "392074", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "*Classic app example*\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green' });\r\n\r\nvar view = Ti.UI.createView({\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n backgroundColor: 'orange'\r\n});\r\n\r\nvar img1 = Ti.UI.createView({\r\n height: 100, width: Ti.UI.FILL,\r\n backgroundColor:'gray'\r\n});\r\nvar img2 = Ti.UI.createView({\r\n height: 50, width: 50,\r\n top: 0, right: 0,\r\n backgroundColor: 'red'\r\n});\r\n\r\nview.add(img1);\r\nview.add(img2);\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}\r\n\r\n!8f1bdc96-2ce1-11e6-9627-6e99aaca5e2a.png|thumbnail!", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-01T01:24:57.000+0000", "updated": "2016-08-01T01:24:57.000+0000" }, { "id": "395205", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nOS: Windows 10 Pro\r\nAppc core: 6.0.0-37\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160901034311\r\n\r\nTI.UI.SIZE now works correctly for a view with child views\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-02T16:15:06.000+0000", "updated": "2016-09-02T16:15:06.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }