- Home /
Layout group + content fit.
Looks fine in editor. As soon as few components are added to vertical group of LED Colors - Parent resizes to fit content. Everything goes crazy until enabled/disabled few times. What is causing it?
GIF of the problem: https://gifyu.com/image/zTqc
Comment
Sometimes it have incorrect size. Try to invoke this method manually: https://docs.unity3d.com/ScriptReference/UI.ContentSizeFitter.SetLayoutVertical.html
Your answer
Follow this Question
Related Questions
Vertical Layout with Pixel Perfect scaling 0 Answers
UI Only Updates As Intended When Editing Through Scene 0 Answers
Scale Layout elements to fit screen 2 Answers
GridLayout Scaling Issues 1 Answer