godot icon indicating copy to clipboard operation
godot copied to clipboard

Support stretch ratio in GridContainer

Open KoBeWi opened this issue 9 months ago • 1 comments

https://github.com/godotengine/godot-proposals/issues/97#issuecomment-2095080729 idk if it's a bugfix or enhancement.

https://github.com/godotengine/godot/assets/2223172/261ca4d5-d545-4111-be8a-eb78d8035740

KoBeWi avatar May 06 '24 08:05 KoBeWi

Found some issues.

When the first row stretch ratio is less than one and the second row does not stretch, the second row moves far away, outside of the Container:

image

Changing the stretch ratio makes it jitter and not fit into the container: When there is a minimum size and both stretch it can overlap (shown after the above):

godot container ratio issues

kitbdev avatar May 06 '24 16:05 kitbdev

idk how to fix it :/

KoBeWi avatar May 11 '24 09:05 KoBeWi