0 votes

When I place ColorRect (or some another kind of control node) inside the MarginContainer, I have this strange margin on the left side: child node's margin always become 8.

node tree
margin 8

Maybe, I don't understand usage of this type of container. Actually, I don't see the difference between functionality of MarginContainer and simple Container.
Please, explain me this kind of behavior.

Thank you.

asked 4 days ago in Engine by heleg (16 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.