godot/scene
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
..
2d Merge pull request #92283 from KoBeWi/code_simpleton 2024-05-30 11:47:58 +02:00
3d Merge pull request #92302 from jsjtxietian/debug-shape-null 2024-05-30 22:38:33 +02:00
animation Fix wrong usage of parameters_base_path StringName 2024-05-30 12:03:43 +02:00
audio Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
debugger Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
gui Fix RichTextLabel table overlapping with next line 2024-05-31 16:21:17 -04:00
main Update editor Window preview position when resizing window. 2024-05-31 07:52:46 +03:00
resources Fix code style for generated shader code from ParticleProcessMaterial 2024-05-31 14:12:41 +02:00
theme Merge pull request #91953 from AThousandShips/use_normal_sname 2024-05-31 14:16:05 +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 inherited scenes produce errors in editor when "editable_children" is true 2024-03-10 07:37:47 +08:00
property_utils.h
register_scene_types.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
register_scene_types.h
scene_string_names.cpp [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
scene_string_names.h [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
SCsub