virtualx-engine/scene/gui
aaronp64 6ecccd6085 Fix RichTextLabel table overlapping with next line
When calculating table height, RichTextLabel::_shape_line would increase the height when it reached the end of a complete row, or the final cell of the table.  RichTextLabel::_resize_line would only increase the height at the end of a complete row, causing the height to ignore the final row if not all cells were populated.  This would cause the final row to overlap with the following line in the RichTextLabel if it was the last visible line in the RichTextLabel, as _resize_line is called when updating scrolling properties.

This change moves the common table size calculations to a separate function to reuse the code between _shape_line and _resize_line, keeping the final cell check that was used in _shape_line.

Fixes #92603
2024-05-31 16:21:17 -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 Fix placement of ColorPicker in the editor 2024-05-09 15:16:33 +03:00
box_container.h
button.cpp Improve button min. size calculation. 2024-05-16 22:37:12 +03:00
button.h Fix CheckBox and CheckButton not using max_icon_width 2024-05-20 10:40:21 +02: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 Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
code_edit.cpp Fix crash during code editor folding and LSP 2024-05-23 20:01:11 -07: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::panel 2024-05-30 22:54:50 +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 Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
container.h Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
control.compat.inc Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
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 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
dialogs.cpp [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
dialogs.h Fix duplicate AcceptDialog cancel/confirm events. 2024-05-28 10:46:28 +03:00
file_dialog.cpp [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +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::panel 2024-05-30 22:54:50 +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 as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +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 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
graph_node.cpp [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
graph_node.h [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
grid_container.cpp Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
grid_container.h
item_list.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
item_list.h Automatically use property count in PropertyListHelper 2024-05-25 10:51:37 +02: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::id_pressed 2024-05-30 22:54:04 +02:00
line_edit.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
link_button.cpp
link_button.h
margin_container.cpp Fix placement of ColorPicker in the editor 2024-05-09 15:16:33 +03:00
margin_container.h
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 Improve button min. size calculation. 2024-05-16 22:37:12 +03: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 as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +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 Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
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 Add indeterminate mode to ProgressBar 2024-01-31 18:11:18 -03:00
range.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +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
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 Fix RichTextLabel table overlapping with next line 2024-05-31 16:21:17 -04:00
rich_text_label.h Fix RichTextLabel table overlapping with next line 2024-05-31 16:21:17 -04: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 Fix scrollbar issues in ScrollContainer 2024-05-19 22:20:43 -03:00
scroll_container.h Revert "Update Node::get_configuration_warnings signature" 2024-02-17 19:03:21 +01:00
SCsub
separator.cpp
separator.h
slider.cpp Fix Slider's drag mouse position when grabber is centered 2024-02-07 17:19:13 +00:00
slider.h
spin_box.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +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 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 Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +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 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +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 Replace find with contains/has where applicable 2024-05-08 12:37:42 +02:00
texture_progress_bar.h
texture_rect.cpp
texture_rect.h
tree.cpp [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +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
view_panner.h