godot icon indicating copy to clipboard operation
godot copied to clipboard

Grid Container children do not have consistent size.

Open tex111 opened this issue 2 years ago • 1 comments

Godot version

3.5 mono

System information

windows 10

Issue description

When a grid container has multiple columns and it is not completely filled, the children are not given a consistent amount of space to expand to. This causes jitter in game when adding or removing things to the grid container.

I expect that the grid apportions a consistent amount of space to each column regardless of it currently being occupied.

Steps to reproduce

In the example project, duplicate the button and keep a close eye on the button's size and position in relation to the grid.

Minimal reproduction project

GridContainerBug.zip

tex111 avatar Aug 25 '22 12:08 tex111

Still happening on Godot 4.0. Gridbug.zip

nakano15 avatar Mar 09 '23 03:03 nakano15

Any traction on this?

rbrettj avatar Jul 06 '23 00:07 rbrettj