- Home /
[4.6 UI] Layouts messes with my object with/height even though force width/height is unchecked
Namely they force my objects to be same size as the image used for them (e.g. 144x144 in case of my panels), even if size before applying layout (activating/adding component) is smaller/bigger. Because of that...
instead of
How to fix that? I want text to fit nicely between corners of the panel and I can't do that while still having that unwanted resize.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613181735im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Retreive the Width Delta of a ContentSizeFitter game object 0 Answers
GUIContent with an image and text getting not drawing image 0 Answers
How do you set minimum EditorWindow size when undocked? 0 Answers
UI Vertical Layout Group with Content Size Fitter, how to set max width? 1 Answer
Parsing Error at End of Script? 0 Answers