godot/scene
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
..
2d Fix animated tile time-slice calculation accumulating float errors 2023-10-24 18:16:52 +02:00
3d Fix LightmapGI baking with GridMap 2023-10-24 17:10:40 +02:00
animation Ensure methods skipped by AnimationPlayer::seek are not called 2023-10-24 16:52:58 +02:00
audio Merge pull request #70515 from stmSi/fix-hanging-audio-pitch-scale 2023-02-17 14:06:55 +01:00
debugger Fix arg count checks in SceneDebugger 2023-08-31 20:19:31 +02:00
gui AssetLib: Fix long plugin names breaking the UI 2023-10-24 18:17:02 +02:00
main Fix can not set process priority of node if not any process is processing 2023-10-24 18:17:01 +02:00
resources Fix ImporterMesh bone weight handling during lightmap unwrap 2023-10-24 17:05:24 +02:00
theme Merge pull request #68429 from KoBeWi/PropertySettings 2023-01-06 22:59:29 +01:00
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
property_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
property_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_scene_types.cpp Fix for threaded NavigationMesh baking under new thread guards 2023-06-14 01:53:37 +02:00
register_scene_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scene_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00