[TIMOB-11743] BlackBerry: Titanium.UI.ImageView doesn't shrink to respect the size.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-06-17T22:57:37.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.1.2, Release 3.2.0 |
| Components | BlackBerry |
| Labels | blackberry, module_imageview, qe-testadded |
| Reporter | Dan Tamas |
| Assignee | Russell McMahon |
| Created | 2012-11-09T11:03:25.000+0000 |
| Updated | 2013-07-19T09:40:10.000+0000 |
Description
Testcase:
win.add(Ti.UI.createImageView({
backgroundColor:'#f00',
image:'/sample.png',
top:300,
height:350,
width:350
}));
The image has 512x512px
Attachments
| File | Date | Size |
|---|---|---|
| capture-3.png | 2012-11-09T11:03:25.000+0000 | 61450 |
Closing as Fixed. Verified with environment: Studio: 3.1.2.201307171817 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261),ios Simulator(v6.0),Galaxy Nexus(v4.0.4) Xcode: 4.5.1 blackberry SDK: 10.1.0.1020 Image inside imageView now shrink with respect to size.
code used to verify and close was :
download any png image and name it as sample.png and paste it in your test project.var win = Titanium.UI.createWindow({backgroundColor:'white'}); win.add(Ti.UI.createImageView({ image:'/sample.png', top:10, left:2, height:350, width:350 })); win.open();