Search Issue Tracker




Found in



Issue ID




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

UI Elements


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.

Comments (1)

  1. 88dd08449ad884439385362043071a8a?d=mm


    Jan 31, 2020 10:25

    Nice information and thanks for sharing this to us. Get more about best apps.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.