godot/editor
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
..
debugger Merge pull request #75200 from Calinou/debugger-editor-settings-add-property-hints 2023-06-19 21:39:10 +02:00
export Remove nondeterminism in pck_packer 2023-10-24 16:33:53 +02:00
gui Fix go to parent folder in EditorFileDialog 2023-10-24 16:33:53 +02:00
icons Make Help.svg not look disabled 2023-08-31 20:19:31 +02:00
import [bugfix] Fix reimporting scene withh default values selected 2023-10-24 16:04:59 +02:00
plugins AssetLib: Fix long plugin names breaking the UI 2023-10-24 18:17:02 +02:00
translations i18n: Sync translations with Weblate (last 4.1 sync) 2023-10-02 17:01:20 +02:00
SCsub Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
action_map_editor.cpp Merge pull request #71322 from EricEzaM/55856-proj-settings-initial-array-dict-shared-instance 2023-02-01 07:29:44 +01:00
action_map_editor.h Fix Project Settings array/dicts initial value being shared instances of the current value. 2023-01-13 21:48:43 +10:00
animation_bezier_editor.cpp Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00
animation_bezier_editor.h Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00
animation_track_editor.cpp Merge pull request #74948 from AThousandShips/animation_key 2023-06-09 15:30:16 +02:00
animation_track_editor.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_track_editor_plugins.cpp Fix `draw_multiline_colors` usage 2023-05-15 09:56:13 +03:00
animation_track_editor_plugins.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_preview.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_preview.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
code_editor.cpp Make indentation indicators translatable 2023-10-19 21:17:46 +02:00
code_editor.h Move convert_indent into CodeEdit 2023-05-07 13:08:37 +01:00
connections_dialog.cpp Focus current node after connecting 2023-07-10 17:26:15 +02:00
connections_dialog.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
create_dialog.cpp Merge pull request #63732 from DarkMessiah/create-new-node-arrow-navigation 2023-05-29 12:21:29 +02:00
create_dialog.h Fix filtering editor nodes in Create Dialog 2023-01-27 12:26:26 +01:00
dependency_editor.cpp Fix missing UID handling in Dependency Editor 2023-06-13 11:09:56 +02:00
dependency_editor.h Fix DependecyEditorOwners not acknowledging non-scene resources 2023-06-02 20:18:33 +02:00
directory_create_dialog.cpp Make create folder popup support nested folders 2023-04-23 21:10:04 +08:00
directory_create_dialog.h Make create folder popup support nested folders 2023-04-23 21:10:04 +08:00
doc_tools.cpp Fix missing GDExtension in-editor API reference 2023-06-29 12:48:10 +02:00
doc_tools.h Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH 2023-05-08 11:00:29 -05:00
editor_about.cpp Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_about.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_asset_installer.cpp Removed unused property hints and `Object::get_translatable_strings()` 2023-01-09 16:56:01 +01:00
editor_asset_installer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_atlas_packer.cpp Bounds fixes in `TextureAtlas` import 2023-06-22 19:20:56 +02:00
editor_atlas_packer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_audio_buses.cpp Revert "Remember only permanent bottom tabs" 2023-06-23 15:23:36 +02:00
editor_audio_buses.h Fix premature theme item access in editor tools 2023-04-03 18:01:11 +02:00
editor_autoload_settings.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
editor_autoload_settings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_build_profile.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
editor_build_profile.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
editor_command_palette.cpp Merge pull request #57894 from Sauermann/fix-subviewport-1 2023-05-09 10:43:49 +02:00
editor_command_palette.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_data.cpp Don't grab theme icons for scripts 2023-09-21 13:34:46 +02:00
editor_data.h Fix node selection not handled correctly at launch 2023-07-03 14:43:15 +02:00
editor_feature_profile.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
editor_feature_profile.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_file_system.cpp Fix various typos with codespell 2023-10-03 20:45:35 +02:00
editor_file_system.h Use reimport_append api for importing embedded gltf images 2023-02-06 07:11:45 -08:00
editor_folding.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_folding.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_fonts.cpp Improve startup benchmarking 2023-05-23 13:22:35 -07:00
editor_fonts.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_help.cpp Fix regression with enum descriptions now showing up in documentation. 2023-07-10 17:26:14 +02:00
editor_help.h Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
editor_help_search.cpp Add multi window code and shader editors 2023-05-10 09:14:21 +02:00
editor_help_search.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_inspector.cpp Fix enum tooltip with no description 2023-07-10 17:26:15 +02:00
editor_inspector.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_interface.cpp C#: Fix line in OpenInExternalEditor 2023-10-19 21:21:02 +02:00
editor_interface.h Let editor workaround a case of inconsistency in compound scenes 2023-06-13 11:05:57 +02:00
editor_layouts_dialog.cpp Use ui_text_submit to confirm and close text prompts 2023-09-21 15:14:04 +02:00
editor_layouts_dialog.h Improve editor layout dialog 2023-02-02 01:29:40 +01:00
editor_locale_dialog.cpp Add some missing translatable editor strings 2023-02-10 16:55:50 +08:00
editor_locale_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_log.cpp Fix editor log flicker. 2023-06-12 20:15:23 +03:00
editor_log.h Remove some unused signals 2023-01-31 18:54:04 +01:00
editor_native_shader_source_visualizer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_native_shader_source_visualizer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_node.cpp Fix dependency menu not showing up if scene failed to load. 2023-10-24 17:23:21 +02:00
editor_node.h Don't grab theme icons for scripts 2023-09-21 13:34:46 +02:00
editor_paths.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
editor_paths.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_plugin.cpp Add relative path support for `EditorPlugin::add_autoload_singleton` 2023-06-12 21:27:46 +09:00
editor_plugin.h Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
editor_plugin_settings.cpp Fix a crash when enable a plugin uses `make_mesh_previews` 2023-09-20 22:44:04 +02:00
editor_plugin_settings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_properties.cpp Hide explicitly specified flag value in Inspector 2023-08-31 19:48:16 +02:00
editor_properties.h Merge pull request #76389 from ajreckof/editor-property-nodepath-for-node 2023-06-01 00:40:40 +02:00
editor_properties_array_dict.cpp Revert "Fix paste value not updated in dictionaries/arrays" 2023-06-24 10:59:35 +02:00
editor_properties_array_dict.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
editor_properties_vector.cpp Preserve vector ratio when dragging through 0 2023-06-02 19:35:18 +02:00
editor_properties_vector.h Preserve vector ratio when dragging through 0 2023-06-02 19:35:18 +02:00
editor_property_name_processor.cpp Add TextFile to editor property capitalizations 2023-06-09 14:27:46 +02:00
editor_property_name_processor.h Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_quick_open.cpp Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_quick_open.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_resource_picker.cpp Fix Image -> Texture2D inspector auto-conversion 2023-06-04 15:21:52 +02:00
editor_resource_picker.h Implement a quick script inheritance check 2023-01-19 16:47:01 +01:00
editor_resource_preview.cpp Merge pull request #77000 from reduz/make-more-base-nodes-thread-safe 2023-05-16 00:31:56 +02:00
editor_resource_preview.h Merge pull request #77000 from reduz/make-more-base-nodes-thread-safe 2023-05-16 00:31:56 +02:00
editor_run.cpp Merge pull request #75444 from lpriebe/editor-run-arg-split-fix 2023-06-21 10:18:37 +02:00
editor_run.h Merge pull request #75444 from lpriebe/editor-run-arg-split-fix 2023-06-21 10:18:37 +02:00
editor_run_native.cpp Extract editor run toolbar into its own component 2023-04-19 17:12:28 +02:00
editor_run_native.h Extract editor run toolbar into its own component 2023-04-19 17:12:28 +02:00
editor_scale.cpp Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_scale.h Single Compilation Unit build. 2023-06-06 15:36:51 +01:00
editor_script.cpp Extract editor run toolbar into its own component 2023-04-19 17:12:28 +02:00
editor_script.h Extract editor run toolbar into its own component 2023-04-19 17:12:28 +02:00
editor_sectioned_inspector.cpp Allow EditorInspector to change its property name style when necessary 2023-04-29 10:51:00 +08:00
editor_sectioned_inspector.h Allow EditorInspector to change its property name style when necessary 2023-04-29 10:51:00 +08:00
editor_settings.cpp Allow using floating-point bone sizes and outline widths in the 2D editor 2023-10-19 21:06:11 +02:00
editor_settings.h Extract editor run toolbar into its own component 2023-04-19 17:12:28 +02:00
editor_settings_dialog.cpp Translate undo/redo messages in settings dialogs 2023-04-23 17:49:55 +08:00
editor_settings_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_themes.cpp Make main editor window border margin controllable by theme 2023-05-30 19:19:39 +02:00
editor_themes.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_translation.cpp Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_translation.h Prepare for moving editor and classref translations to godot-editor-l10n repo 2023-02-07 14:20:40 +01:00
editor_translation_parser.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_translation_parser.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_undo_redo_manager.cpp Emit history_changed on merged UndoRedo actions 2023-07-17 12:05:43 +02:00
editor_undo_redo_manager.h add backward_undo_ops as property for action 2023-06-13 15:32:05 +02:00
editor_vcs_interface.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_vcs_interface.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
event_listener_line_edit.cpp Fix missing translations in EventListenerLineEdit 2023-06-27 23:08:41 +02:00
event_listener_line_edit.h Propagate allowed input types to `event_listener` when setting them on `InputEventConfigurationDialog` 2023-01-10 23:26:33 +10:00
fbx_importer_manager.cpp FBX: Disable importer when canceling FBX2glTF setup 2023-03-03 13:53:03 +01:00
fbx_importer_manager.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
filesystem_dock.cpp Remove leftover debug print in `FileSystemDock` 2023-09-21 15:48:10 +02:00
filesystem_dock.h Permits the renaming of files and folders inline for items in the FileSystemDock. 2023-06-02 16:29:07 -04:00
find_in_files.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
find_in_files.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
groups_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
groups_editor.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
history_dock.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
history_dock.h Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
import_defaults_editor.cpp Allow EditorInspector to change its property name style when necessary 2023-04-29 10:51:00 +08:00
import_defaults_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
import_dock.cpp Allow EditorInspector to change its property name style when necessary 2023-04-29 10:51:00 +08:00
import_dock.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
input_event_configuration_dialog.cpp [Input Map] Generate missing values instead of disabling options. 2023-06-06 10:55:00 +03:00
input_event_configuration_dialog.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
inspector_dock.cpp Allow EditorInspector to change its property name style when necessary 2023-04-29 10:51:00 +08:00
inspector_dock.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
localization_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
localization_editor.h Improve POT Generation dialog 2023-03-03 18:18:58 +08:00
multi_node_edit.cpp Merge pull request #71345 from reduz/support-metadata-multi-node-edit 2023-01-21 11:28:59 +01:00
multi_node_edit.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
node_dock.cpp Focus current node after connecting 2023-07-10 17:26:15 +02:00
node_dock.h Focus current node after connecting 2023-07-10 17:26:15 +02:00
plugin_config_dialog.cpp Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
plugin_config_dialog.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
pot_generator.cpp Improve POT Generation dialog 2023-03-03 18:18:58 +08:00
pot_generator.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
progress_dialog.cpp Fix auto-reparenting logic in the `ProgressDialog` 2023-05-29 17:02:16 +02:00
progress_dialog.h Fix auto-reparenting logic in the `ProgressDialog` 2023-05-29 17:02:16 +02:00
project_converter_3_to_4.cpp Fix conversion of hex color strings in project converter 2023-10-24 18:17:01 +02:00
project_converter_3_to_4.h Fix conversion of hex color strings in project converter 2023-10-24 18:17:01 +02:00
project_manager.cpp Improve text in popup warning, remove "upgrade or downgrade" text 2023-07-11 12:21:28 +02:00
project_manager.h Improve user-friendliness of project version mismatch message 2023-07-10 18:09:58 +02:00
project_settings_editor.cpp fix errors while reordering input maps 2023-05-12 16:15:16 -03:00
project_settings_editor.h clear filter input in Project Settings when opening Layers 2023-03-10 20:18:37 +08:00
property_selector.cpp Delay initialization of the visual shader editor UI 2023-05-23 15:20:42 +02:00
property_selector.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_editor_types.cpp Small rework of tooltip plugins 2023-05-30 23:13:50 +02:00
register_editor_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_exporters.h [Export] Add readable descriptions and validation warnings to the export options. 2023-04-19 08:35:59 +03:00
rename_dialog.cpp properly update nodepath with batch rename 2023-06-14 15:12:46 +02:00
rename_dialog.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
renames_map_3_to_4.cpp Add navigation renames to 3to4 converter 2023-03-30 23:50:02 +02:00
renames_map_3_to_4.h Add conversion for common Theme Overrides 2023-03-10 16:32:35 +01:00
reparent_dialog.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
reparent_dialog.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
scene_create_dialog.cpp Fix missing translation in SceneCreateDialog 2023-06-26 19:19:36 +02:00
scene_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_tree_dock.cpp Avoid duplicating the 'Filters' section 2023-09-21 15:28:24 +02:00
scene_tree_dock.h Avoid duplicating the 'Filters' section 2023-09-21 15:28:24 +02:00
script_create_dialog.cpp Fix indentation in script templates 2023-10-19 21:21:02 +02:00
script_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_create_dialog.cpp Use bullet points in shader editor creation dialog 2023-07-10 17:46:07 +02:00
shader_create_dialog.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_globals_editor.cpp Fix shader uniform storage conversions and crash 2023-05-29 15:17:13 +03:00
shader_globals_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
template_builders.py
window_wrapper.cpp Make the single window mode check more strict 2023-09-21 15:28:23 +02:00
window_wrapper.h Add multi window code and shader editors 2023-05-10 09:14:21 +02:00