0 votes


I have the following scene:
enter image description here

I have configured the GridContainer to expand when the size of its parent - the PanelConaiter changes. See the demo project.

I have the GridContainer configured to have only 1 column of items. Is there a way to have the GridContainer automatically change the number of columns when its parent is resized, so that more icons fit per row? If it helps, the size of the items inside the grid container is fixed at 32x32 pixels.

Example project: http://s000.tinyupload.com/?file_id=26425130519071060914

in Engine by (63 points)

Looking for the exact same. It would be great to have an option to make the grids adjust the amount of columns based on what fits.

Does anyone have any suggestions? An option to do this either through scripts or nodes would be great!

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.