Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11743] BlackBerry: Titanium.UI.ImageView doesn't shrink to respect the size.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-06-17T22:57:37.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsblackberry, module_imageview, qe-testadded
ReporterDan Tamas
AssigneeRussell McMahon
Created2012-11-09T11:03:25.000+0000
Updated2013-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

FileDateSize
capture-3.png2012-11-09T11:03:25.000+000061450

Comments

  1. Priya Agarwal 2013-07-19

    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.
  2. Priya Agarwal 2013-07-19

    code used to verify and close was :
       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();
       
    download any png image and name it as sample.png and paste it in your test project.

JSON Source