Containers are always bigger than they seem!

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By esdo

I created a Vboxcontainer.
Put two texturerects in it, means one is on top of the other.
Then, I put a texture in the texturerect at the bottom.
Since the texturerect at the top is empty, it occupies no space (size 0x0).
However, for some reason, the texturerect at the bottom is pushed further down, and now has a margin_top of 4 that I cannot change.
Adding a texture to the texturerect at the top keeps that issue, so that I can never make the two textures touch if they are in the same Vboxcontainer.

Is there a way fo fix this? Being able to set a fixed min/max margin would be helpful.

Thanks!

:bust_in_silhouette: Reply From: esdo

.add_constant_override(“separation”, 0) fixes this.