|Topic was automatically imported from the old Question2Answer platform.
I’m not sure how to phrase this better but, I have an HBoxContainer with two elements in it, both having size flags to fill, expand. The leftmost item contains the spells, abilities, ranged etc. and the rightmost item is just a rectangle right now. The size of the whole container is set using margins, and as you can see something is problematic with the display;
Basically, on really small windows the spells are overflowing and going past the left container. Here’s a better breakdown of the structure:
And lastly a breakdown of the HotbarAssignMenu control:
Now, I’ll mention that I do clear and fill those HotbarAssignMenu dynamically, plopping down instanciated controls in the lowest HBoxContainer at runtime, but I don’t think it matters.
So essentially my question is as follows: how do I specify how godot handles the overflow? My guess is the HBoxContainer is just not suited for this, as overflowing on the other line would not make sense if you’re trying to lay things down ‘horizontally’; but I may be wrong - thoughts
Cheers, and thank you.