+1 vote


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

asked Apr 8, 2019 in Engine by Juxxec (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.