godot/scene
Anni Ryynänen 0fefd6cc80
Fix GridContainer minimum size when there's a hidden parent
When calculating minimum size, GridContainer only looks at children that are
returned from `as_sortable_control()`. That defaults to only showing children
visible in the tree, so if the grid has a hidden parent the minimum size
becomes (0, 0).

After this change only the child itself needs to be visible, making
`GridContainer::get_minimum_size()` behave the same way as other controls.

Fixes #91722.
2024-06-20 13:49:09 +03:00
..
2d Merge pull request #91382 from adamscott/sample-player 2024-06-19 07:59:07 +02:00
3d Merge pull request #91382 from adamscott/sample-player 2024-06-19 07:59:07 +02:00
animation Add samples playback support 2024-06-18 11:06:31 -04:00
audio Add samples playback support 2024-06-18 11:06:31 -04:00
debugger Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
gui Fix GridContainer minimum size when there's a hidden parent 2024-06-20 13:49:09 +03:00
main Merge pull request #92678 from warriormaster12/dup_prop_before_remap_resources 2024-06-18 14:08:39 +02:00
resources AnimatedTexture: Fix crash when loaded from a thread 2024-06-19 09:54:01 +02:00
theme [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
property_list_helper.cpp Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
property_list_helper.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
property_utils.cpp Fix default NodePaths saved in scene 2024-06-03 13:10:23 +02:00
property_utils.h Fix default NodePaths saved in scene 2024-06-03 13:10:23 +02:00
register_scene_types.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
register_scene_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
scene_string_names.h [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00