Commit Graph

56805 Commits

Author SHA1 Message Date
GrammAcc
d63a88bef1 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.
2023-09-30 18:16:39 -05:00
Yuri Sizov
6da4ad1662 Merge pull request from rakkarage/alternative-icon-scale
Call `add_child` after `set_rect` to fix size bug
2023-08-25 21:26:50 +02:00
Yuri Sizov
b6c4efe1b1 Merge pull request from dalexeev/gds-allow-use-local-consts-as-types
GDScript: Allow use local constants as types
2023-08-25 21:26:44 +02:00
Yuri Sizov
43f61836ad Merge pull request from philippesic/TileSet-Sep-Suffix
Add `px` suffix for TileSet `separation` property
2023-08-25 21:26:41 +02:00
Yuri Sizov
548bfa8365 Merge pull request from dalexeev/gds-fix-lambda-body-cyclic-ref-resolution
GDScript: Fix lambda resolution with cyclic references
2023-08-25 21:26:37 +02:00
Yuri Sizov
3c71214a70 Merge pull request from jsjtxietian/init-importer-default-correctly
Fix "Import Defaults" selector not being initialized incorrectly
2023-08-25 21:26:34 +02:00
Yuri Sizov
ffdb4662fe Merge pull request from bruvzg/rtl_iter
[RTL] Use list iterators for item/paragraph removal.
2023-08-25 21:26:29 +02:00
jsjtxietian
f997feed75 Fix "Import Defaults" selector not being initialized incorrectly
In ImportDefaultsEditor, delete 'Select Importer';
when first call the function, last_selected should
be the first one, directly show the settings for
"Animation Library"
2023-08-26 00:24:30 +08:00
Pippo Pesic
0044217a7f Add px suffix to TileSet Separation value
Add px suffix to TileSet separation value
2023-08-25 08:58:11 -07:00
bruvzg
88177a5a58
[RTL] Use list iterators for item/paragraph removal. 2023-08-25 17:49:13 +03:00
Rakka Rage
e93d2a04df Call add_child after set_rect to fix size bug 2023-08-25 10:10:47 -04:00
Danil Alexeev
68a567bd13
GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
Danil Alexeev
89429b0273
GDScript: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
Yuri Sizov
6f90b23702 Merge pull request from aaronfranke/fix-enter-tree
Fix redundant enter tree notification in project export texture format
2023-08-25 14:59:04 +02:00
Yuri Sizov
e538843930 Merge pull request from curious-broccoli/fix-array-doc
Clarify Array class methods that return error
2023-08-25 14:59:00 +02:00
Yuri Sizov
d476cdff34 Merge pull request from bruvzg/scons_wrp_deps
[Windows] Add main executable to the console wrapper dependencies to prevent simultaneous linking.
2023-08-25 14:58:55 +02:00
Yuri Sizov
cae4319e0a Merge pull request from BastiaanOlij/fix_decal_mask_mobile
Fix missing decal mask in mobile renderer
2023-08-25 14:58:52 +02:00
Yuri Sizov
4b208fec74 Merge pull request from timothyqiu/typo-fixes
Fix various typos in classref
2023-08-25 14:58:47 +02:00
Yuri Sizov
6340fb3479 Merge pull request from jsjtxietian/keep-show-built-in-action-after-editor-restart
Save "Show Built-In Actions" state to project metadata
2023-08-25 14:58:44 +02:00
Yuri Sizov
ba1be04547 Merge pull request from Scony/suppress-navi-ut-errors
Suppress expected errors in navi-related unit tests, 
2023-08-25 14:58:40 +02:00
Yuri Sizov
53af94ab33 Merge pull request from KoBeWi/that's_not_how_you_do_set
Fix example for `Object._set` documentation
2023-08-25 14:58:37 +02:00
Yuri Sizov
e21ded8f8f Merge pull request from KoBeWi/settings_freeze,_no_more_changes
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
Yuri Sizov
017b19638b Merge pull request from dalexeev/gui-tree-fix-text-overlapping-icon
GUI: Fix text overlapping icon in `Tree`
2023-08-25 14:58:27 +02:00
Yuri Sizov
fff32bb72a Merge pull request from rburing/opposite_of_abstract_is_concrete
Fix GDExtension classes derived from abstract GDExtension classes always being registered as abstract
2023-08-25 14:58:23 +02:00
Danil Alexeev
07d23489f4
GUI: Fix text overlapping icon in Tree 2023-08-24 22:09:02 +03:00
Aaron Franke
4c51544d62
Fix redundant enter tree notification in project export texture format 2023-08-24 12:32:10 -05:00
curious-broccoli
d8e7ce58ee Clarify Array class methods that return error
related to 
2023-08-24 14:11:56 +00:00
bruvzg
f37ace7036 [Windows] Add main executable to the console wrapper dependencies to prevent simultaneous linking. 2023-08-23 09:54:06 +03:00
Bastiaan Olij
8449331f13 Fix missing decal mask in mobile renderer 2023-08-23 11:14:10 +10:00
Pawel Lampe
0954ed0283 Suppress expected errors in navi-related unit tests, 2023-08-22 19:33:38 +02:00
Haoyu Qiu
d026b37abd Fix various typos in classref 2023-08-22 18:05:50 +08:00
jsjtxietian
9c1278cae8 save show built-in actions button state 2023-08-22 16:36:48 +08:00
Ricardo Buring
acf9d4e4de Fix GDExtension classes derived from abstract GDExtension classes always being registered as abstract 2023-08-22 09:53:03 +02:00
Rémi Verschelde
6758a7f8c0
Merge pull request from Sauermann/fix-picking-doc
Document mouse-picking limit of 64 objects
2023-08-22 09:09:35 +02:00
Rémi Verschelde
b195b0a7d4
Merge pull request from MewPurPur/cam-revert
Revert to the old Camera icons
2023-08-22 09:09:31 +02:00
Rémi Verschelde
0024d2e541
Merge pull request from vitormaduro/master
Updated C# example of AddPropertyInfo
2023-08-22 09:09:24 +02:00
Markus Sauermann
765da0a365 Document mouse-picking limit of 64 objects 2023-08-22 08:45:55 +02:00
MewPurPur
383c0116d7 Revert to the old Camera icons 2023-08-22 01:58:04 +03:00
Rémi Verschelde
8e0346bade
Merge pull request from bruvzg/rtl_lang
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph.
2023-08-21 19:32:29 +02:00
Rémi Verschelde
ddb7430536
Merge pull request from bruvzg/rtl_rem_para
[RTL] Fix `remove_paragraph` crashes
2023-08-21 19:32:25 +02:00
Rémi Verschelde
170ae3a781
Merge pull request from akien-mga/ci-mono-glue-fail-condition
CI: Propagate error code when glue generation fails
2023-08-21 19:32:21 +02:00
Rémi Verschelde
b6986310db
Merge pull request from bitsawer/fix_vulkan_cluster_builder
Fix Vulkan crash with many Omni/SpotLights, Decals or ReflectionProbes
2023-08-21 19:32:17 +02:00
Rémi Verschelde
fef62a6860
Merge pull request from bitsawer/fix_vulkan_texture_upload
Fix Vulkan texture update
2023-08-21 19:32:12 +02:00
Rémi Verschelde
cc01b28886
Merge pull request from Chaosus/cpuparticles_converter
Implement conversion from `CPUParticles` to `GPUParticles` (3D/2D)
2023-08-21 19:26:48 +02:00
Rémi Verschelde
e43370d0fa
Merge pull request from azuloo/lsp-thread-connection-error
Fixes LSP connection error when launched in a separate thread
2023-08-21 19:26:43 +02:00
Rémi Verschelde
ca00520525
Merge pull request from BlueCube3310/DDS-format-indexed-remove
Remove `DDS_INDEXED` from DDSFormat
2023-08-21 19:26:38 +02:00
Rémi Verschelde
7d3bee73e4
Merge pull request from dalexeev/gds-for-loop-var-static-typing
GDScript: Add static typing for `for` loop variable
2023-08-21 19:26:32 +02:00
Rémi Verschelde
38b8751f0d
Merge pull request from Calinou/plugin-editor-create-add-tooltips
Add tooltips to the plugin editor creation dialog
2023-08-21 19:26:24 +02:00
vitormaduro
694f280acd Updated C# example for method AddPropertyInfo 2023-08-21 13:27:50 -03:00
bruvzg
299808cc26
[RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph. 2023-08-21 14:56:43 +03:00