The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

Hey I'm looking for some help.

I am trying to populate a screen with panels of different set sizes. I'll be using 2 arrays to be able to do this but the issue I am coming across is that I'm not sure how to do this without causing gaps between the panels.

So what I'm hoping to do is something like ![this]https://imgur.com/wgwgWaD] while avoiding ![this][https://imgur.com/HBeI2vu] (see the white square in the middle). I just don't have the technical know how to make this happen. I can always do these things manually but I am hoping to be able to just do it randomly.

If you require more information, I will be happy to provide but I don't think any else if needed in this instance.

Thanks for any help in advance

Godot version 3
in Engine by (22 points)
edited by

Hey buddy. The image links didn't work for me.

Links are not working.

Sorry, links are now fixed

Still broken.

@DaddyMonster try a different browser because they look broken on Firefox for me as well. Tried it on ....sigh....Edge and it worked

1 Answer

0 votes

The only clear difference I can spot between your two images is that one has a green rectangle somewhere in the middle and one has a white rectangle instead. In any case, the way to build such interfaces is to have a number of nested HBox and VBoxContainers containing items among which some have size flags set to expand vertically or horizontally.

by (1,311 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.