Hi! I have a problem with UI.
I have a simple UI tree:
- Plain container (CharacterInventorySlotsUI)
- ItemSlotsList (Horizontal container) which contains Control elements
My parent Container doesn’t adjust to the ItemSlotList Control element, it has height 0px:
But when I select ItemSlotList Control child element the height is set to 40px:
My goal is: Parent should take the exactly the same height/width as children elements
Do I miss something or am I using wrong nodes. I tried looking in different UI tutorials in godot, but many ppl set properties by hand, height/width etc. I want the parent to adjust to children