[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.
This is another case where previous behavior may or may not be considered "correct." We have two options here:
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.
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.
ticket marked invalid, new behavior os now the expected one. Thanks guys.
Closed as invalid.