Button is overlaping in VBoxContainer

Godot Version

4.3

Question

this is my button,It appears to be properly aligned.

when I put it in a VBoxContainer,it overlaping

textureButton is have height.I don’t know why are they overlaping.

the container height doesn’t change by its child node height,but why?

textureButton can’t detect child height,it doesn’t use for it

but container node dont have presed event, just have mouse in mouse out.use these and click event to mock button click

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.