1
0
Fork 0
godot/editor/plugins
GrammAcc 3c3fad858c AssetLib: Fix long plugin names breaking the UI
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.

I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.

I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.

I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.

(cherry picked from commit d63a88bef1)
2023-10-24 18:17:02 +02:00
..
gizmos
tiles Fix TileMap editor so that pressing control deselects cells correctly 2023-10-24 16:52:59 +02:00
SCsub
abstract_polygon_2d_editor.cpp
abstract_polygon_2d_editor.h
animation_blend_space_1d_editor.cpp
animation_blend_space_1d_editor.h
animation_blend_space_2d_editor.cpp
animation_blend_space_2d_editor.h
animation_blend_tree_editor_plugin.cpp
animation_blend_tree_editor_plugin.h
animation_library_editor.cpp
animation_library_editor.h
animation_player_editor_plugin.cpp
animation_player_editor_plugin.h
animation_state_machine_editor.cpp
animation_state_machine_editor.h
animation_tree_editor_plugin.cpp
animation_tree_editor_plugin.h
asset_library_editor_plugin.cpp AssetLib: Fix long plugin names breaking the UI 2023-10-24 18:17:02 +02:00
asset_library_editor_plugin.h AssetLib: Fix long plugin names breaking the UI 2023-10-24 18:17:02 +02:00
audio_stream_editor_plugin.cpp
audio_stream_editor_plugin.h
audio_stream_randomizer_editor_plugin.cpp
audio_stream_randomizer_editor_plugin.h
bit_map_editor_plugin.cpp
bit_map_editor_plugin.h
bone_map_editor_plugin.cpp
bone_map_editor_plugin.h
camera_3d_editor_plugin.cpp
camera_3d_editor_plugin.h
canvas_item_editor_plugin.cpp Fix various typos with codespell 2023-10-03 20:45:35 +02:00
canvas_item_editor_plugin.h
cast_2d_editor_plugin.cpp
cast_2d_editor_plugin.h
collision_polygon_2d_editor_plugin.cpp
collision_polygon_2d_editor_plugin.h
collision_shape_2d_editor_plugin.cpp
collision_shape_2d_editor_plugin.h
control_editor_plugin.cpp
control_editor_plugin.h
cpu_particles_2d_editor_plugin.cpp
cpu_particles_2d_editor_plugin.h
cpu_particles_3d_editor_plugin.cpp
cpu_particles_3d_editor_plugin.h
curve_editor_plugin.cpp
curve_editor_plugin.h
debugger_editor_plugin.cpp
debugger_editor_plugin.h
dedicated_server_export_plugin.cpp
dedicated_server_export_plugin.h
editor_debugger_plugin.cpp
editor_debugger_plugin.h
editor_preview_plugins.cpp
editor_preview_plugins.h
editor_resource_conversion_plugin.cpp
editor_resource_conversion_plugin.h
editor_resource_tooltip_plugins.cpp
editor_resource_tooltip_plugins.h
font_config_plugin.cpp
font_config_plugin.h
gdextension_export_plugin.h
gpu_particles_2d_editor_plugin.cpp
gpu_particles_2d_editor_plugin.h
gpu_particles_3d_editor_plugin.cpp
gpu_particles_3d_editor_plugin.h
gpu_particles_collision_sdf_editor_plugin.cpp
gpu_particles_collision_sdf_editor_plugin.h
gradient_editor.cpp
gradient_editor.h
gradient_editor_plugin.cpp
gradient_editor_plugin.h
gradient_texture_2d_editor_plugin.cpp
gradient_texture_2d_editor_plugin.h
input_event_editor_plugin.cpp
input_event_editor_plugin.h
light_occluder_2d_editor_plugin.cpp
light_occluder_2d_editor_plugin.h
lightmap_gi_editor_plugin.cpp Propagate error correctly when max texture size for lightmaps is too small. 2023-09-20 22:44:04 +02:00
lightmap_gi_editor_plugin.h
line_2d_editor_plugin.cpp
line_2d_editor_plugin.h
material_editor_plugin.cpp
material_editor_plugin.h
mesh_editor_plugin.cpp
mesh_editor_plugin.h
mesh_instance_3d_editor_plugin.cpp
mesh_instance_3d_editor_plugin.h
mesh_library_editor_plugin.cpp
mesh_library_editor_plugin.h
multimesh_editor_plugin.cpp
multimesh_editor_plugin.h
navigation_link_2d_editor_plugin.cpp
navigation_link_2d_editor_plugin.h
navigation_obstacle_2d_editor_plugin.cpp
navigation_obstacle_2d_editor_plugin.h
navigation_obstacle_3d_editor_plugin.cpp
navigation_obstacle_3d_editor_plugin.h
navigation_polygon_editor_plugin.cpp
navigation_polygon_editor_plugin.h
node_3d_editor_gizmos.cpp
node_3d_editor_gizmos.h
node_3d_editor_plugin.cpp Initialize View Frame Time estimates to match 120 FPS 2023-10-24 16:06:29 +02:00
node_3d_editor_plugin.h
occluder_instance_3d_editor_plugin.cpp
occluder_instance_3d_editor_plugin.h
packed_scene_editor_plugin.cpp
packed_scene_editor_plugin.h
packed_scene_translation_parser_plugin.cpp
packed_scene_translation_parser_plugin.h
path_2d_editor_plugin.cpp
path_2d_editor_plugin.h
path_3d_editor_plugin.cpp
path_3d_editor_plugin.h
physical_bone_3d_editor_plugin.cpp
physical_bone_3d_editor_plugin.h
polygon_2d_editor_plugin.cpp
polygon_2d_editor_plugin.h
polygon_3d_editor_plugin.cpp
polygon_3d_editor_plugin.h
resource_preloader_editor_plugin.cpp
resource_preloader_editor_plugin.h
root_motion_editor_plugin.cpp
root_motion_editor_plugin.h
script_editor_plugin.cpp fix CollisionShape3D Shape Size handle will missing 2023-10-19 21:49:00 +02:00
script_editor_plugin.h fix CollisionShape3D Shape Size handle will missing 2023-10-19 21:49:00 +02:00
script_text_editor.cpp
script_text_editor.h
shader_editor_plugin.cpp
shader_editor_plugin.h
shader_file_editor_plugin.cpp
shader_file_editor_plugin.h
skeleton_2d_editor_plugin.cpp
skeleton_2d_editor_plugin.h
skeleton_3d_editor_plugin.cpp
skeleton_3d_editor_plugin.h
skeleton_ik_3d_editor_plugin.cpp
skeleton_ik_3d_editor_plugin.h
sprite_2d_editor_plugin.cpp
sprite_2d_editor_plugin.h
sprite_frames_editor_plugin.cpp
sprite_frames_editor_plugin.h
style_box_editor_plugin.cpp
style_box_editor_plugin.h
sub_viewport_preview_editor_plugin.cpp
sub_viewport_preview_editor_plugin.h
text_editor.cpp
text_editor.h
text_shader_editor.cpp Fix comments and indentation in .gdshaderinc files 2023-07-10 17:26:15 +02:00
text_shader_editor.h
texture_3d_editor_plugin.cpp
texture_3d_editor_plugin.h
texture_editor_plugin.cpp
texture_editor_plugin.h
texture_layered_editor_plugin.cpp
texture_layered_editor_plugin.h
texture_region_editor_plugin.cpp
texture_region_editor_plugin.h
theme_editor_plugin.cpp Fix leak when closing theme editor preview tabs 2023-09-27 21:03:23 +02:00
theme_editor_plugin.h
theme_editor_preview.cpp
theme_editor_preview.h
version_control_editor_plugin.cpp
version_control_editor_plugin.h
visual_shader_editor_plugin.cpp
visual_shader_editor_plugin.h
voxel_gi_editor_plugin.cpp Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String 2023-08-31 19:48:16 +02:00
voxel_gi_editor_plugin.h