Commit Graph

7128 Commits

Author SHA1 Message Date
Thaddeus Crews 42e4ec1c38 Merge pull request #118651 from StarryWorm/fix-tabbar-label-max-width
Fix `TabBar` and `Label` being unable to shrink when given a maximum size
2026-05-07 16:22:27 -05:00
StarryWorm 05737cd449 Add "desired size" to Control
A `Control` can define `get_desired_size()` which allows it to grow based on its content without increasing its minimum size.
This new size will be respected by parent `Container`s.
Currently used by `Label` and `TabBar`.
2026-05-07 13:01:02 -04:00
Mikael Hermansson 33628f79ff Fix PopupMenu fuzzy searching and expose fuzzy search properties 2026-05-07 15:12:17 +02:00
Thaddeus Crews 05168e359c Merge pull request #119231 from Calinou/virtualjoystick-fix-joystick-tip-size-errors
Fix error spam when changing VirtualJoystick's Joystick Size or Tip Size
2026-05-06 14:56:31 -05:00
SorkoPiko bcf4593bb8 fix: ensure color picker permission box is initially hidden 2026-05-05 21:07:25 +10:00
Hugo Locurcio 2d511cac01 Fix error spam when changing VirtualJoystick's Joystick Size or Tip Size
This skips the input release process while in the editor, since VirtualJoystick
should normally do nothing while in the editor (it is currently not used for
3D navigation on Android).

Errors are still printed if the project is run.
2026-05-04 22:45:09 +02:00
Enzo Novoselic 7b82c0fe01 Remove unnecessary class_db.h includes 2026-05-02 13:08:34 -04:00
Thaddeus Crews 9120c0c3ae Merge pull request #115601 from YeldhamDev/itemlist_item_click_signal
Fire `ItemList.item_clicked` signal when deselecting multi items with CTRL
2026-04-29 12:29:03 -05:00
Thaddeus Crews 83e84e8156 Merge pull request #119008 from KoBeWi/⭾
Assign pending tabs when they are added
2026-04-29 12:28:53 -05:00
Thaddeus Crews dabca93d11 Merge pull request #118890 from passivestar/guideline-color
Fix script editor guideline colors
2026-04-29 12:28:49 -05:00
Thaddeus Crews f5560ccbe2 Merge pull request #115637 from YeldhamDev/obey_your_parents
Make internal children of built-in nodes use their parent's material
2026-04-28 09:02:46 -05:00
kobewi ad5e5244a6 Assign pending tabs when they are added 2026-04-27 20:43:17 +02:00
passivestar bb86d90fb5 Fix script editor guideline colors 2026-04-26 23:31:39 +04:00
Thaddeus Crews 908983880b Merge pull request #118645 from Miurg/fix-texture-button-switch
GUI: replace single case switch with if in texture_button
2026-04-23 08:34:46 -05:00
Thaddeus Crews 583596cd50 Merge pull request #118842 from mihe/submenu-positioning
Fix positioning of `PopupMenu` submenus
2026-04-22 12:54:46 -05:00
Thaddeus Crews dbb2050439 Merge pull request #118846 from mihe/popupmenu-gamepad-navigation
Fix `PopupMenu` gamepad navigation when filtered
2026-04-22 12:54:45 -05:00
Thaddeus Crews a70600a061 Merge pull request #118849 from mihe/popupmenu-first-offset
Fix `PopupMenu` using the wrong separation when searching/filtering
2026-04-22 12:54:43 -05:00
Thaddeus Crews c2ad2d1fb1 Merge pull request #118836 from TokageItLab/remove-method-sname
Remove `SNAME` from MethodInfo macro
2026-04-22 12:54:42 -05:00
Thaddeus Crews 3352f2221b Merge pull request #118799 from SorkoPiko/fix/picker-permission-visibility
Fix color picker MacOS permission request box always being visible
2026-04-22 12:54:41 -05:00
Thaddeus Crews 783c614766 Merge pull request #118704 from WhalesState/rich-text-label-u
RTL: Remove unused `width_with_padding`.
2026-04-22 12:54:39 -05:00
Mikael Hermansson 8c02c9e5e9 Fix positioning of PopupMenu submenus 2026-04-22 16:15:26 +02:00
Mikael Hermansson 9599ab55b3 Fix PopupMenu using the wrong separation when searching/filtering 2026-04-22 13:36:17 +02:00
Mikael Hermansson 87c7f6aee8 Fix PopupMenu gamepad navigation when filtered 2026-04-22 13:09:23 +02:00
Silc Lizard (Tokage) Renew bd6e63482e Remove SNAME from MethodInfo macro 2026-04-22 18:48:26 +09:00
Thaddeus Crews 3bccdd2e4b Merge pull request #118733 from jinyangcruise/fix_custom_canvas_item_covers_
Fix custom canvas item covers text
2026-04-21 08:48:13 -05:00
SorkoPiko 82680c25d4 fix: only show color picker permission box when sampler is visible 2026-04-21 20:40:31 +10:00
Thaddeus Crews 3bf2d1e3d5 Merge pull request #118246 from Goldenlion5648/fix-scene-tree-shortcuts
Make shortcuts that use letters or alt work in the scene tree
2026-04-20 09:15:46 -05:00
jinyangcruise 92ecfbae83 fix custom canvas item covers text 2026-04-19 23:28:11 +08:00
Simon Döhl 0bca265a81 Free Tree custom_ci RID in destructor 2026-04-18 21:08:11 +02:00
Thaddeus Crews 29cec720e4 Merge pull request #115797 from jinyangcruise/fix_find_in_files_hover_style
Fix highlighted word style being overwritten by hover/pressed styles in find in files
2026-04-18 07:28:29 -05:00
Mounir Tohami 0271dfd7b6 [RTL]: Remove unused width_with_padding. 2026-04-18 02:29:32 +02:00
jinyangcruise 251af31089 fix hover/pressed style overwride custom drawed content 2026-04-16 22:56:54 +08:00
Thaddeus Crews a6ed51df17 Merge pull request #118623 from YeldhamDev/too_late_i_guess
Deprecate `TabContainer.all_tabs_in_front` due to now being useless
2026-04-16 09:41:20 -05:00
Thaddeus Crews 771325eb59 Merge pull request #118620 from WhalesState/text-edit-unused-var
TextEdit: Remove unused `next_item_id` variable.
2026-04-16 09:41:15 -05:00
Thaddeus Crews 070d9a408b Merge pull request #118608 from shiena/fix/118581-multitouch-button-signals
Fix BaseButton multitouch signals firing for only 1 button
2026-04-16 09:41:14 -05:00
Shimu c09ded0f23 replace single case switch with if in texture_button 2026-04-16 16:30:32 +02:00
kobewi 64c8952975 Rework export template dialog to allow individual templates 2026-04-16 12:31:58 +02:00
Michael Alexsander 3729bc8940 Deprecate TabContainer.all_tabs_in_front due to now being useless 2026-04-15 19:02:05 -03:00
Thaddeus Crews 4836ba26f0 Merge pull request #115340 from wagnerfs/add-translation-context
Add translation context to Controls
2026-04-15 14:02:36 -05:00
Mounir Tohami de3337977a TextEdit: Remove unused next_item_id variable. 2026-04-15 20:51:29 +02:00
KOGA Mitsuhiro 8e30e2ee89 Fix BaseButton multitouch signals firing for only 1 button 2026-04-15 21:45:35 +09:00
Rémi Verschelde 2bd673bc30 Merge pull request #118591 from StarryWorm/fix-meshlibrary-crash
Fix `MeshLibrary` crash
2026-04-15 12:41:19 +02:00
Rémi Verschelde 60c2e1e59d Merge pull request #118542 from shiena/fix/118517
Fix BaseButton popup unresponsive on touchscreen after first tap
2026-04-15 12:41:11 +02:00
Wagner a82b69a554 Adds translation context to Controls
Co-authored-by: jkirsteins <janis.kirsteins@datadoghq.com>
2026-04-14 23:47:49 -03:00
Enzo Novoselic 6784e1e9fa Fix crash due to missing guards 2026-04-14 19:37:42 -04:00
Thaddeus Crews 0880a908d7 Merge pull request #118536 from StarryWorm/fix-label-crash
Defer minimum size updates in maximum size handling
2026-04-14 07:11:02 -05:00
Thaddeus Crews 57af0d2cf2 Merge pull request #118351 from StarryWorm/flip-em
Reorganize `Control` inspector layout
2026-04-14 07:11:01 -05:00
KOGA Mitsuhiro 3b75aa08fc Fix BaseButton popup unresponsive on touchscreen after first tap 2026-04-14 06:09:53 +09:00
StarryWorm ed9efe8287 Defer minimum size updates in maximum size handling 2026-04-13 15:26:15 -04:00
Thaddeus Crews 8a91ee8fcb Merge pull request #117939 from vaner-org/tree-better-drag-edge-cases
Handle Tree's root and foreign item drops better
2026-04-13 11:45:54 -05:00