Search Unity

How to have a LayoutElement scaled instead of be resized ?

Discussion in 'UGUI & TextMesh Pro' started by Kiupe, May 16, 2018.

  1. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Hello guys,

    When working with Layout and LayoutElement I'm struggling to have a GO used as a container to be scale instead of resized in order to have all this content scaled too. Moreover, would it be possible to have it scale and having an initial aspect ratio respected ?

    EDIT : I tried using a AspectRatioFitter, which is a good start, but again it will change the RectTransform size and not scale.

    Thanks
     
    Last edited: May 16, 2018