In the inspector>theme overrides>constants>separation of the split container its value is zero, but there is a gap between the children, I want the children to be adjacent to each other without gap between them
godot 3.5
In the inspector>theme overrides>constants>separation of the split container its value is zero, but there is a gap between the children, I want the children to be adjacent to each other without gap between them
godot 3.5
.3
If the Separation value is set to zero, and there is still a gap between the children, then the gap is likely caused by extra padding in the children of the split container. To resolve this, you can try setting the padding values of the children to zero.
Kwarteng what is padding?
it is a usual gap that appears between the children of the split container. In some other containers, such as vbox, when we set a value of 0 for the separation, the children are on top of each other without gaps between them.
I don't remember for sure but in the past I think I've resolved it with a custom theme, not just for margins and padding but for the separators own width value to be changed. It's been a while tho so perhaps I misrecall. Maybe I was just using theme overrides.
© 2022 - 2024 — McMap. All rights reserved.