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 Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
tiles Fix TileMap editor so that pressing control deselects cells correctly 2023-10-24 16:52:59 +02:00
SCsub Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
abstract_polygon_2d_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
abstract_polygon_2d_editor.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_space_1d_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_space_1d_editor.h Consistent with NodeBlendSpace1D option NodeBlendSpace2D 2023-01-31 02:14:55 +09:00
animation_blend_space_2d_editor.cpp Some code simplifications 2023-06-08 16:15:22 +02:00
animation_blend_space_2d_editor.h Simplify some editor plugin logic and remove dead code 2023-01-05 21:04:54 +03:00
animation_blend_tree_editor_plugin.cpp Implement NodeSub2 to AnimationTree & improve mathematical Nodes 2023-05-27 13:19:54 +09:00
animation_blend_tree_editor_plugin.h Fix canceling add_node Popup doesn't disconnect previous node. 2023-01-10 14:35:09 +06:30
animation_library_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_library_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
animation_player_editor_plugin.cpp Revert "Remember only permanent bottom tabs" 2023-06-23 15:23:36 +02:00
animation_player_editor_plugin.h Implement toggling pause / stop button to AnimationPlayerEditor 2023-01-14 07:10:20 +09:00
animation_state_machine_editor.cpp Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine 2023-04-24 16:44:21 +02:00
animation_state_machine_editor.h Rework StateMachine and nested StateMachine process 2023-04-18 19:06:51 +09:00
animation_tree_editor_plugin.cpp Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine 2023-04-24 16:44:21 +02:00
animation_tree_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 Fix crash in AudioStream preview 2023-05-30 20:26:10 +02:00
audio_stream_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_randomizer_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
audio_stream_randomizer_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
bit_map_editor_plugin.cpp Clean-up, harmonize, and improve StyleBox API 2023-01-19 20:02:21 +03:00
bit_map_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
bone_map_editor_plugin.cpp Use range iterators in LocalVector loops 2023-01-21 18:44:42 +01:00
bone_map_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_3d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
canvas_item_editor_plugin.cpp Fix various typos with codespell 2023-10-03 20:45:35 +02:00
canvas_item_editor_plugin.h Add Center View button to 2D editor 2023-05-31 12:56:18 +02:00
cast_2d_editor_plugin.cpp Improvements and fixes based on Weblate comments 2023-02-13 15:22:18 +08:00
cast_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_polygon_2d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_polygon_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_shape_2d_editor_plugin.cpp Allow setting negative WorldBoundaryShape2D.distance through the editor 2023-06-14 14:54:00 +02:00
collision_shape_2d_editor_plugin.h Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings 2023-05-07 15:55:28 -07:00
control_editor_plugin.cpp Add get_edited_property_value() shorthand method 2023-05-26 09:18:53 +02:00
control_editor_plugin.h Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
cpu_particles_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
cpu_particles_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
cpu_particles_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
cpu_particles_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
curve_editor_plugin.cpp Fix Curve Editor crash with null curve 2023-06-13 11:35:35 +02:00
curve_editor_plugin.h Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins 2023-05-31 20:03:04 +02:00
debugger_editor_plugin.cpp Revert "Remember only permanent bottom tabs" 2023-06-23 15:23:36 +02:00
debugger_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
dedicated_server_export_plugin.cpp Add "dedicated server" export mode which can strip unneeded visual resources 2023-01-23 13:24:54 -06:00
dedicated_server_export_plugin.h Add "dedicated server" export mode which can strip unneeded visual resources 2023-01-23 13:24:54 -06:00
editor_debugger_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_preview_plugins.cpp Add metadata to resource previews 2023-05-10 14:03:10 +02:00
editor_preview_plugins.h Add metadata to resource previews 2023-05-10 14:03:10 +02:00
editor_resource_conversion_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_resource_conversion_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_resource_tooltip_plugins.cpp Small rework of tooltip plugins 2023-05-30 23:13:50 +02:00
editor_resource_tooltip_plugins.h Small rework of tooltip plugins 2023-05-30 23:13:50 +02:00
font_config_plugin.cpp Add get_edited_property_value() shorthand method 2023-05-26 09:18:53 +02:00
font_config_plugin.h Use `PropertyUsageFlags` enum in parse_property 2023-01-31 23:31:15 +01:00
gdextension_export_plugin.h Fix GDExtensions library export when multiple architectures are set. 2023-02-27 17:00:38 +02:00
gpu_particles_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
gpu_particles_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gpu_particles_3d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
gpu_particles_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gpu_particles_collision_sdf_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
gpu_particles_collision_sdf_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_editor.cpp Add Linear SRGB and OKLab color spaces to Gradient. 2023-05-26 16:18:01 -03:00
gradient_editor.h Add Linear SRGB and OKLab color spaces to Gradient. 2023-05-26 16:18:01 -03:00
gradient_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_texture_2d_editor_plugin.cpp Fix Curve Editor crash with null curve 2023-06-13 11:35:35 +02:00
gradient_texture_2d_editor_plugin.h Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins 2023-05-31 20:03:04 +02:00
input_event_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
input_event_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
light_occluder_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
light_occluder_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
line_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
line_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
material_editor_plugin.cpp Use a SubViewport for CanvasItem inspector preview 2023-04-28 22:43:47 +02:00
material_editor_plugin.h Use a SubViewport for CanvasItem inspector preview 2023-04-28 22:43:47 +02:00
mesh_editor_plugin.cpp Use BitField<> in core type masks 2023-01-08 22:17:40 +01:00
mesh_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
mesh_instance_3d_editor_plugin.cpp Merge pull request #75765 from YuriSizov/editor-node-optimize-includes 2023-04-11 19:40:24 +02:00
mesh_instance_3d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
mesh_library_editor_plugin.cpp Fix problems reloading MeshLibrary 2023-06-11 19:42:24 +02:00
mesh_library_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
multimesh_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
multimesh_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
navigation_link_2d_editor_plugin.cpp Rename Navigation uses of 'location' to 'position' 2023-01-26 18:19:03 +01:00
navigation_link_2d_editor_plugin.h Rename Navigation uses of 'location' to 'position' 2023-01-26 18:19:03 +01:00
navigation_obstacle_2d_editor_plugin.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_2d_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_3d_editor_plugin.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_3d_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_polygon_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
navigation_polygon_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
node_3d_editor_gizmos.cpp Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
node_3d_editor_gizmos.h Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
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 Merge pull request #76372 from sygi/dont_propagate_lock_view 2023-06-12 17:09:38 +02:00
occluder_instance_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
occluder_instance_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_translation_parser_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_translation_parser_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
path_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
path_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
path_3d_editor_plugin.cpp Add move control points button to PAth3D Editor 2023-06-05 04:54:48 +02:00
path_3d_editor_plugin.h Add move control points button to PAth3D Editor 2023-06-05 04:54:48 +02:00
physical_bone_3d_editor_plugin.cpp Fix skeleton_3d & physical_bone_3d editor errors 2023-05-10 18:03:30 +02:00
physical_bone_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
polygon_2d_editor_plugin.cpp apply selected texture filter when editing UV 2023-06-18 22:56:26 +02:00
polygon_2d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
polygon_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
polygon_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
resource_preloader_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
resource_preloader_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
root_motion_editor_plugin.cpp Add get_edited_property_value() shorthand method 2023-05-26 09:18:53 +02:00
root_motion_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
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 Add a line break to error messages in the script editor 2023-06-19 15:57:27 +02:00
script_text_editor.h sort code completions with rules 2023-05-23 05:12:34 +02:00
shader_editor_plugin.cpp Revert "Remember only permanent bottom tabs" 2023-06-23 15:23:36 +02:00
shader_editor_plugin.h Improve editor state persistence 2023-05-11 04:17:03 +02:00
shader_file_editor_plugin.cpp Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
shader_file_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_2d_editor_plugin.cpp Remove unnecessary Clipper lib includes 2023-05-24 23:57:08 +02:00
skeleton_2d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_3d_editor_plugin.cpp Refactor vector editor properties 2023-05-31 00:14:28 +02:00
skeleton_3d_editor_plugin.h Refactor vector editor properties 2023-05-31 00:14:28 +02:00
skeleton_ik_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_ik_3d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
sprite_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
sprite_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sprite_frames_editor_plugin.cpp Merge pull request #74341 from dalexeev/sprite-frames-texture-filter 2023-05-22 13:48:18 +02:00
sprite_frames_editor_plugin.h Hide Animation Frames section when there are no animations and show message 2023-05-19 01:14:11 +02:00
style_box_editor_plugin.cpp Improve StyleBox preview a little 2023-05-24 15:40:56 +02:00
style_box_editor_plugin.h Improve StyleBox preview a little 2023-05-24 15:40:56 +02:00
sub_viewport_preview_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sub_viewport_preview_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
text_editor.cpp Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
text_editor.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
text_shader_editor.cpp Fix comments and indentation in .gdshaderinc files 2023-07-10 17:26:15 +02:00
text_shader_editor.h Add shortcut for quick-toggling word wrap 2023-04-19 23:46:22 +02:00
texture_3d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_editor_plugin.cpp fix TexturePreview crash from an invalid image 2023-06-18 13:08:06 +08:00
texture_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_layered_editor_plugin.cpp Use BitField<> in core type masks 2023-01-08 22:17:40 +01:00
texture_layered_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_region_editor_plugin.cpp Properly remember snapping options per-project 2023-03-09 21:12:26 +01:00
texture_region_editor_plugin.h Use `PropertyUsageFlags` enum in parse_property 2023-01-31 23:31:15 +01:00
theme_editor_plugin.cpp Fix leak when closing theme editor preview tabs 2023-09-27 21:03:23 +02:00
theme_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
theme_editor_preview.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
theme_editor_preview.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
version_control_editor_plugin.cpp Fix theme of editor VCS dialogs 2023-05-29 21:25:31 +08:00
version_control_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
visual_shader_editor_plugin.cpp Merge pull request #76787 from RedworkDE/avoid-localvector-copy 2023-06-20 00:01:55 +02:00
visual_shader_editor_plugin.h Add handling of custom visual shader nodes from GDExtension 2023-05-06 08:19:12 +03:00
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 One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00