Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.3
2020.1.0a21
Issue ID
1215470
Regression
No
Results of Texture ScaleMode is not intuitive when parent has a width or height set to pixel value and the other is set to auto
if i have an image in a container with width set to a fixed value ( ie 128px ) and height set to auto, and i add an Image, with scaleMode set to ScaleMode.ScaleToFit, to that container I get the results shown in the image below.
i would imagine that the child image would scale to the container width that i have set at 128px and then, with the container height set as auto, the image would scale to width of 128 and height of 128 to fit in the container.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Add comment