[TIMOB-2043] iOS: Image View Encoding - image now scales to window widths
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T03:08:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | defect, encoding, image, ios, regression |
Reporter | Thomas Huelbert |
Assignee | Blain Hamon |
Created | 2011-04-15T03:08:55.000+0000 |
Updated | 2017-03-02T19:25:31.000+0000 |
Description
1.BaseUI>Views>Image Views>IMage View Encoding
2.note appearance of image
results: image scales to screen size. New behavior (would be much smaller), not sure if its intentional.
Comments
- Stephen Tramer 2011-04-15
This is another case where previous behavior may or may not be considered "correct." We have two options here:
- Resizing the underlying image view (the UIImageView, not the proxy view) to fit the image border when necessary
- Letting the image automatically scale to the size of the UIImageView as appropriate
It seems to be that the first was previous behavior, and the second is new behavior. It comes down to whether or not we want images to scale to the view size specified by the user when they indicate no width/height, or if we want the view to scale to the image when they specify no width/height.
- Blain Hamon 2011-04-15
I'm going to propose that the new functionality should be the expected behavior, as it allows a means to use the older behavior: If height and width were set to be 'auto', it should work. Were the old functionality restored, there would be no way short of using transforms to scale up images.
If we do it this way, this would be invalid.
- Thomas Huelbert 2011-04-15
ticket marked invalid, new behavior os now the expected one. Thanks guys.
- Lee Morris 2017-03-02 Closed as invalid.