{ "id": "104750", "key": "TIMOB-11743", "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": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-17T22:57:37.000+0000", "created": "2012-11-09T11:03:25.000+0000", "priority": null, "labels": [ "blackberry", "module_imageview", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-19T09:40:10.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Testcase:\r\n{code}\r\nwin.add(Ti.UI.createImageView({\r\n\tbackgroundColor:'#f00',\r\n\timage:'/sample.png',\r\n\ttop:300,\r\n\theight:350,\r\n\twidth:350\r\n\t}));\r\n\r\n{code}\r\nThe image has 512x512px\r\n", "attachment": [ { "id": "33373", "filename": "capture-3.png", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-09T11:03:25.000+0000", "size": 61450, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: Titanium.UI.ImageView doesn't shrink to respect the size.", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Blackberry simulator \r\nTiSDK 2.2.0 BB \r\n\r\nversion=2.2.0\r\nmodule_apiversion=2\r\ntimestamp=10/19/12 11:58\r\ngithash=6bf86d6\r\n\r\n ", "comment": { "comments": [ { "id": "262429", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\n\r\nVerified with environment:\r\n\r\nStudio: 3.1.2.201307171817\r\nTitanium SDK:3.1.2.v20130718094558\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.3.2\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:Blackberry-Z10(v 10.0.10.261),ios Simulator(v6.0),Galaxy Nexus(v4.0.4)\r\nXcode: 4.5.1\r\nblackberry SDK: 10.1.0.1020\r\n\r\nImage inside imageView now shrink with respect to size.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-19T09:37:23.000+0000", "updated": "2013-07-19T09:37:23.000+0000" }, { "id": "262430", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "code used to verify and close was :\n{code}\nvar win = Titanium.UI.createWindow({backgroundColor:'white'});\nwin.add(Ti.UI.createImageView({\n image:'/sample.png',\n top:10,\n left:2,\n height:350,\n width:350\n }));\nwin.open();\n{code}\n\ndownload any png image and name it as sample.png and paste it in your test project.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-19T09:40:10.000+0000", "updated": "2013-07-19T09:40:10.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }