Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1740] local imageView does not scale down in 1.4.1

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:02.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsn/a
ReporterTamas Daniel
AssigneeReggie Seagraves
Created2011-04-15T03:01:02.000+0000
Updated2011-04-17T01:57:02.000+0000

Description

If you try to set the width/height of a local stored image, it does not work.

Let's say the image has 200x200px

Ti.UI.createImageView({
image:'some_image.jpg',
width:100,
height:100
})
will load the image at a 200x200 size.

Comments

  1. Brion Vibber 2011-04-15

    Looks like the same as https://appcelerator.lighthouseapp.com/projects/32238/tickets/1680-ios-regression-imageview-loaded-from-local-file-no-longer-scales-in-current-git-build"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/1680-...

  2. Jeff Haynie 2011-04-15

    (from [87903b26cc1d6e3f07459b754d73caa8579fd268]) [#1867 state:fixed-in-qa] [#1583 state:fixed-in-qa] [#1740 state:fixed-in-qa] [#1680 state:fixed-in-qa] [#1676 state:fixed-in-qa] [#1584 state:fixed-in-qa] Image views use content mode aspect fit scaling instead of centering. This may also solve things for #1543, but not sure. http://github.com/appcelerator/titanium_mobile/commit/87903b26cc1d6e3f07459b754d73caa8579fd268"> http://github.com/appcelerator/titanium_mobile/commit/87903b26cc1d6...

  3. Thomas Huelbert 2011-04-15

    1.4.2.4c5cd4a ipod 4th gen 4.1

JSON Source