Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Using Content Size Fitter with Horizontal Layout Group appears to ignore the scale of child elements

Discussion in 'UGUI & TextMesh Pro' started by Pau1, Nov 17, 2016.

  1. Pau1

    Pau1

    Joined:
    Mar 21, 2016
    Posts:
    7
    Hey,

    I have a Horizontal Layout Group, with a Content Size Fitter. This has child game objects of text and works great when the children are scaled 1, 1. However if I change the scale, the children visible grow/shrink in size however the layout components don't seem to compensate for any scale changes, and treat it as if the child is still scaled 1,1.

    Is there a way of getting the layout group to factor in the child's scaled? Or alternatively a way of increasing the resolution of text. I've always ramped up the font size and reduced the size with the scale, but it's giving me issues here.

    Thanks!