virtualx-engine/scene/gui
aaronp64 5682cc7b81 Avoid FlowContainer crash with TextureRect using EXPAND_FIT_* expand modes
When a FlowContainer had a TextureRect child using any of the EXPAND_FIT_* expand modes, it could crash when changing the FlowContainer's minimum size, or that of its children.  This was due to the TextureRect resizing in FlowContainer::_resort, updating its minimum size, and triggering another _resort.  If the TextureRect's minimum size changed in a way that caused any of the FlowContainer's children to be put on a different line, it could repeatedly cause _resort to be called again, moving the children back and forth between the old and new lines.

This change is for FlowContainer::_resort to give a warning for TextureRects with EXPAND_FIT_* expand modes when multiple lines are used, and just keep the TextureRect size the same in that case.  This is similar to the check added to AspectRatioContainer in godotengine#73396, but attempting to still support it in FlowContainer when possible.  In the case where the TextureRect is forced to stay the same size, there may be some overlap between the FlowContainer's children, but should no longer crash.
2024-07-21 13:09:22 -04: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 Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
box_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
box_container.h Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
button.cpp [Button] Use align_to_largest_stylebox for min. size calculation. 2024-07-04 09:40:55 +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 Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
check_button.cpp Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02:00
check_button.h Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
code_edit.compat.inc Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
code_edit.cpp CodeEdit Fix move lines up/down viewport and selection issues 2024-06-25 15:31:20 -04:00
code_edit.h Overhaul multiple caret editing in TextEdit. 2024-04-26 14:26:10 -04:00
color_mode.cpp Bind remaining theme properties to their respective classes 2023-09-13 19:31:35 +02:00
color_mode.h Increase precision of RAW mode in ColorPicker 2023-10-23 18:33:56 +02:00
color_picker.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
color_picker.h Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection. 2024-03-24 15:12:11 -05:00
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 Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
control.cpp Fix Control nodes emitting unnecessary resized signals 2024-07-05 01:41:21 +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 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
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 Avoid FlowContainer crash with TextureRect using EXPAND_FIT_* expand modes 2024-07-21 13:09:22 -04:00
flow_container.h Add FlowContainer wrap options for center alignment. 2024-04-29 08:26:45 -05:00
graph_edit.compat.inc Rework GraphEdit connections (drawing, API, optimizations) 2024-01-18 16:53:15 +01:00
graph_edit.cpp Fix connections not updated after GraphNode slot update 2024-07-06 14:33:34 +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 Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
graph_element.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
graph_element.h Bind remaining theme properties to their respective classes 2023-09-13 19:31:35 +02:00
graph_frame.cpp Fix GraphFrame autoshrink with high DPI displays/custom UI scales 2024-07-04 19:08:06 +02:00
graph_frame.h Fix GraphFrame autoshrink with high DPI displays/custom UI scales 2024-07-04 19:08:06 +02:00
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 Bind remaining theme properties to their respective classes 2023-09-13 19:31:35 +02:00
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] Move shadow drawing into a separate draw step. 2024-03-15 11:24:08 +02:00
label.h [Label] Move shadow drawing into a separate draw step. 2024-03-15 11:24:08 +02:00
line_edit.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
line_edit.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
link_button.cpp Merge pull request #80555 from GrammAcc/fix-80507 2023-10-02 15:18:38 +02:00
link_button.h Merge pull request #80555 from GrammAcc/fix-80507 2023-10-02 15:18:38 +02:00
margin_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
margin_container.h Bind remaining theme properties to their respective classes 2023-09-13 19:31:35 +02:00
menu_bar.cpp [MenuBar] Use NativeMenu RIDs instead of indices to track items. 2024-03-25 10:58:05 +02:00
menu_bar.h [MenuBar] Use NativeMenu RIDs instead of indices to track items. 2024-03-25 10:58:05 +02:00
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 Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
panel.h Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
panel_container.cpp Add visibilty mode to as_sortable_control() 2024-06-03 20:01:31 +02:00
panel_container.h Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
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 Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
popup_menu.cpp [NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03:00
popup_menu.h [NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03: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 Add indeterminate mode to ProgressBar 2024-01-31 18:11:18 -03:00
range.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
range.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
reference_rect.cpp
reference_rect.h
rich_text_effect.cpp Add transform support to CharFXTransform 2023-08-23 00:18:37 -05:00
rich_text_effect.h Merge pull request #77819 from 0xafbf/char-fx-tests 2023-09-26 13:44:28 +02:00
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 Merge pull request #93721 from semensanyok/fix-RichTextLabel-fade-start-index 2024-07-09 16:47:10 +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 Enabled 'Scrolling' signal when scrolling with middle mouse on RichTextLabel/ScrollContainer 2024-04-22 20:44:03 +01:00
scroll_container.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
scroll_container.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
SCsub
separator.cpp Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
separator.h Register theme properties with ThemeDB 2023-09-11 13:45:23 +02:00
slider.cpp Fix Slider's drag mouse position when grabber is centered 2024-02-07 17:19:13 +00:00
slider.h Emit slider's drag_started signal before the first value change 2023-12-21 11:23:35 +08:00
spin_box.cpp [Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
spin_box.h Fix spinBox will reset text when redrawing 2023-10-08 20:03:08 +08:00
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 Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
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 Allow setting icon max width for TabContainer 2024-04-26 08:27:27 +08:00
text_edit.compat.inc Overhaul multiple caret editing in TextEdit. 2024-04-26 14:26:10 -04:00
text_edit.cpp Fix dropping on selection in script editor 2024-07-04 19:42:38 -04:00
text_edit.h Fix dropping on selection in script editor 2024-07-04 19:42:38 -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 atlas texture positioning in circular TextureProgressBar 2024-06-22 16:07:26 +03:00
texture_progress_bar.h Hide ineffective TextureProgressBar properties in the editor 2023-11-15 18:35:54 +01:00
texture_rect.cpp Fix AtlasTexture::draw_rect flipping for non-zero margin 2024-07-01 21:22:25 +02:00
texture_rect.h
tree.cpp Merge pull request #93179 from TheSofox/tree-nav-crash 2024-06-24 11:14:06 +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 Replace internal usage of ImageTexture in VideoStreamPlayer for Texture2D 2024-01-24 23:44:46 +01:00
view_panner.cpp Merge pull request #85473 from miv391/fix-horizontal-mouse-wheeling-in-2d-view 2023-12-19 13:02:04 +01:00
view_panner.h Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00