virtualx-engine/scene/gui
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
..
aspect_ratio_container.cpp Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
aspect_ratio_container.h
base_button.cpp [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
base_button.h
box_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
box_container.h
button.cpp [Button] Do not include internal margins into base button minimum size. 2024-06-13 14:18:44 +03:00
button.h [Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +03:00
center_container.cpp Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
center_container.h
check_box.cpp Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
check_box.h
check_button.cpp Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
check_button.h
code_edit.compat.inc
code_edit.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
code_edit.h Overhaul multiple caret editing in TextEdit. 2024-04-26 14:26:10 -04:00
color_mode.cpp
color_mode.h
color_picker.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
color_picker.h
color_rect.cpp
color_rect.h
container.cpp Fix Container::pending_sort tracking 2024-06-10 20:17:47 -04:00
container.h Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
control.compat.inc
control.cpp Invalidate Control global transform before notifying about resize / rect change 2024-05-30 10:10:24 +02:00
control.h Avoid incorrect computing anchor of Control node when reset on save 2024-05-05 08:33:37 +09:00
dialogs.compat.inc
dialogs.cpp [Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
dialogs.h Fix duplicate AcceptDialog cancel/confirm events. 2024-05-28 10:46:28 +03:00
file_dialog.cpp [Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
file_dialog.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
flow_container.cpp Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
flow_container.h Add FlowContainer wrap options for center alignment. 2024-04-29 08:26:45 -05:00
graph_edit.compat.inc
graph_edit.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
graph_edit.h [GraphEdit] Convert to minimap line after getting connection line. 2024-05-29 12:58:51 +08:00
graph_edit_arranger.cpp [Core] Add scalar versions of Vector* min/max/clamp/snap(ped) 2024-05-02 10:31:13 +02:00
graph_edit_arranger.h
graph_element.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
graph_element.h
graph_frame.cpp Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
graph_frame.h
graph_node.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
graph_node.h [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
grid_container.cpp Fix GridContainer minimum size when there's a hidden parent 2024-06-20 13:49:09 +03:00
grid_container.h
item_list.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
item_list.h Fix Huge .tscn Icon and icon in background of File System panel 2024-06-02 09:11:56 -04:00
label.cpp
label.h
line_edit.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
line_edit.h
link_button.cpp
link_button.h
margin_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
margin_container.h
menu_bar.cpp
menu_bar.h
menu_button.cpp Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices 2024-05-10 10:46:04 +02:00
menu_button.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
nine_patch_rect.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
nine_patch_rect.h
option_button.cpp [Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
option_button.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
panel.cpp
panel.h
panel_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
panel_container.h
popup.cpp [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
popup.h Make handling of rename line-edit popups more robust 2024-05-07 14:29:35 +02:00
popup_menu.compat.inc
popup_menu.cpp [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
popup_menu.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
progress_bar.cpp [Core] Add scalar versions of Vector* min/max/clamp/snap(ped) 2024-05-02 10:31:13 +02:00
progress_bar.h
range.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
range.h
reference_rect.cpp
reference_rect.h
rich_text_effect.cpp
rich_text_effect.h
rich_text_label.compat.inc [RTL] Adds extra argument to remove_paragraph to skip cache invalidation and a method for manual cache invalidation. 2024-05-02 14:03:21 +03:00
rich_text_label.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
rich_text_label.h [RTL] Fix list item prefix width not taken into account. 2024-06-10 13:14:56 +03:00
scroll_bar.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
scroll_bar.h
scroll_container.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
scroll_container.h
SCsub
separator.cpp
separator.h
slider.cpp
slider.h
spin_box.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
spin_box.h
split_container.cpp Use as_sortable_control() in SplitContainer 2024-05-08 13:17:34 -04:00
split_container.h Use as_sortable_control() in SplitContainer 2024-05-08 13:17:34 -04:00
subviewport_container.cpp Add range hint for SubViewportContainer.stretch_shrink 2024-05-29 09:03:15 +08:00
subviewport_container.h
tab_bar.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
tab_bar.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02:00
tab_container.cpp [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
tab_container.h
text_edit.compat.inc Overhaul multiple caret editing in TextEdit. 2024-04-26 14:26:10 -04:00
text_edit.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
text_edit.h Overhaul multiple caret editing in TextEdit. 2024-04-26 14:26:10 -04:00
texture_button.cpp Fix TextureButton's click mask texture size ignored if missing normal texture 2024-05-25 15:40:09 +02:00
texture_button.h
texture_progress_bar.cpp Fix TextureProgressBar radial mode invalid polygon edge case 2024-06-08 13:51:32 +02:00
texture_progress_bar.h
texture_rect.cpp
texture_rect.h
tree.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
tree.h Fix Tree and FileSystemList edit popup double events and ESC behavior. 2024-05-17 10:03:52 +03:00
video_stream_player.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
video_stream_player.h
view_panner.cpp
view_panner.h