{ "id": "150674", "key": "TIMOB-19404", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-27T16:10:32.000+0000", "created": "2015-08-25T09:11:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "48776", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150000", "key": "TIMOB-19286", "fields": { "summary": "Windows: Test Movies sample", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-09-03T22:29:37.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": "Make sure {{Ti.UI.ImageView}} layout parity. For instance, specifying {{Ti.UI.FILL}} for width & height should stretch image with size of the parent view.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'blue' });\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: '50%', height:'50%'\r\n});\r\n\r\nvar imageview = Ti.UI.createImageView({\r\n image: \"http://image.tmdb.org/t/p/w780//3FweBee0xZoY77uO1bhUOlQorNH.jpg\",\r\n width: Ti.UI.FILL, height: Ti.UI.FILL\r\n});\r\n\r\nview.add(imageview);\r\nwin.add(view);\r\nwin.open()\r\n{code}", "attachment": [ { "id": "56513", "filename": "imageview.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-25T09:10:40.000+0000", "size": 38773, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: ImageView Layout parity", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 482, "state": "closed", "name": "2015 Sprint 17 Windows", "startDate": "2015-08-15T04:01:00.000Z", "endDate": "2015-08-29T03:59:00.000Z", "completeDate": "2015-08-28T13:51:24.221Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "361190", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/417", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-26T02:27:55.000+0000", "updated": "2015-08-26T02:27:55.000+0000" }, { "id": "362213", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nThe Image stretches to the the size of parent view if Ti.UI.FILL is used.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio: 4.1.1.201507141126\r\nTi SDK: 5.0.0.v20150903105218\r\nTi CLI: 4.1.5\r\nAlloy: 1.7.6\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.2.0-1\r\nAPPC CLI: 5.0.0-33\r\nNode : v0.10.37\r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-03T21:46:29.000+0000", "updated": "2015-09-03T21:46:29.000+0000" }, { "id": "362226", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI Core: 5.0.0-33\r\nAppc CLI NPM: 4.2.0-1\r\nTitanium SDK: 5.0.0.v20150902095518\r\nNokia Lumia 930 8.1\r\n\r\nWhen specifying TI.UI.FILL the image is stretched to fit the size of the parent\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-09-03T22:29:37.000+0000", "updated": "2015-09-03T22:29:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }