[TIMOB-1740] local imageView does not scale down in 1.4.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | n/a |
Reporter | Tamas Daniel |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:01:02.000+0000 |
Updated | 2011-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.
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-...
(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...
1.4.2.4c5cd4a ipod 4th gen 4.1