Commit graph

688 commits

Author SHA1 Message Date
Thaddeus Crews
0620af8db3
Merge pull request #110759 from precup/scene-tree-dock-optimizations
Optimize tree size computation and the scene tree dock filter
2026-01-28 12:27:06 -06:00
Thaddeus Crews
0b60e188c3
Merge pull request #115360 from Nintorch/optimize-input-header-includes
Optimize `core/input/input.h` header `#include`ing
2026-01-28 12:27:02 -06:00
Thaddeus Crews
c5ab7727fa
Merge pull request #114323 from snowfrogdev/monospace-font-in-debugger-errors-tab
Tree: Add per-cell `autowrap_trim_flags` to TreeItem
2026-01-28 12:26:56 -06:00
Nintorch
eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Thaddeus Crews
43fbc539dd
Merge pull request #115295 from Akosmo/hover-treeitem-fix
Reset drag unfold timer when mouse exits Tree
2026-01-26 15:01:54 -06:00
Thaddeus Crews
bf28684b2a
Merge pull request #112745 from BrotherShort/fix-LineEdit-offset
Fix Tree focus item LineEdit is offset
2026-01-26 13:14:32 -06:00
Akosmo
bf858ab659 Reset drag unfold timer when mouse exits Tree 2026-01-23 07:39:01 -03:00
BrotherShort
d4a7654493 Fix Tree focus item LineEdit is offset
Apply suggestion from @KoBeWi

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2026-01-18 21:51:53 +08:00
kobewi
b962c91a6a Remove clip ignore from Tree background 2026-01-17 19:32:45 +01:00
BrotherShort
2f0ff3aeb7 Fix Treeitem icon overflows column boundary 2026-01-12 16:46:37 +08:00
Rémi Verschelde
5543be106e
Merge pull request #114862 from passivestar/table-spacing
Improve spacing in trees showing table data in modern theme
2026-01-12 09:23:17 +01:00
passivestar
6f0bd2efb9 Improve spacing in trees showing table data in modern theme 2026-01-12 00:01:49 +04:00
Michael Alexsander
3e942c7135
Fix problems with popup menus for Tree's range items 2026-01-10 20:00:08 -03:00
Rémi Verschelde
836df3aad7
Merge pull request #114572 from boozee/PR-114123--bug-with-tree-item-culling
Use dedicated canvas item to properly cull tree items
2026-01-10 23:48:03 +01:00
Rémi Verschelde
d814d43d76
Merge pull request #112791 from BrotherShort/fix-relationship-lines-are-squeezed-together
Fix tree relationship lines are squeezed together
2026-01-10 23:47:59 +01:00
Boozee
bd54c553f4 Use dedicated canvas item to properly cull tree items 2026-01-10 17:50:52 +01:00
Michael Alexsander
8e305bb701
Add color theme for scroll hints 2026-01-08 14:10:55 -03:00
Michael Alexsander
62d0392131
Fix Tree items ignoring inner margins 2026-01-07 18:04:13 -03:00
Rémi Verschelde
cde4f41e9a
Merge pull request #112475 from BrotherShort/fix-icon-max-width-editable
Fix tree item editable area missing icon max width bug
2026-01-01 16:45:47 +01:00
Philippe Vaillancourt
e046830c50 Tree: Add per-cell autowrap_trim_flags to TreeItem
The Debugger Errors tab previously displayed ASCII art diagnostic output
(like Rust/Elm-style error messages) incorrectly because the Tree widget
hardcoded space trimming flags, causing leading spaces on wrapped lines
to be trimmed and breaking alignment.

This adds a per-cell `autowrap_trim_flags` property to TreeItem, following
the pattern used by Label and RichTextLabel. The debugger errors tab now
disables trim flags and uses the same monospace font as the Output panel,
ensuring proper alignment of structured error messages.
2025-12-24 15:28:15 -05:00
passivestar
d5cf2a5e7f Fix tree line editor corners 2025-12-20 22:20:05 +04:00
kobewi
bbe0bff4aa Revert Tree item drawing changes 2025-12-17 20:43:06 +01:00
Thaddeus Crews
8787f581f9
Merge pull request #112830 from BrotherShort/fix-tree-edge
Fix clicking the tree edge is ineffective
2025-12-15 08:01:06 -06:00
Thaddeus Crews
3008b5c59f
Merge pull request #112941 from Break-Ben/scene-tree-double-click-fix
Fix error when double-clicking nothing on scene tree
2025-12-11 12:12:41 -06:00
Break
a0b5306b79 Fix error when double-clicking nothing on scene tree 2025-12-11 13:34:23 +08:00
BrotherShort
59e8acbb36 Fix clicking the tree edge is ineffective 2025-12-10 05:14:12 +08:00
Michael Alexsander
f187b8b2bf
Enable scroll hints for several parts of the editor 2025-12-09 10:55:26 -03:00
Michael Alexsander
191289ec11
Hide arrows when they go past the column titles on Trees 2025-12-04 17:59:49 -03:00
Michael Alexsander
639e396d98
Add scroll hints to ScrollContainer and Tree 2025-11-26 11:04:49 -03:00
BrotherShort
918f23f80f Fix tree relationship lines are squeezed together 2025-11-15 08:27:22 +08:00
Thaddeus Crews
dedbc8b26a
Merge pull request #112625 from BrotherShort/fix-tree-vertical-line
Fix tree vertical line width bug
2025-11-11 10:37:36 -06:00
Thaddeus Crews
d30214a612
Merge pull request #109938 from KoBeWi/fokoos_rekto
Remove meta usage in Tree
2025-11-10 17:47:04 -06:00
Thaddeus Crews
77cfbe9371
Merge pull request #111780 from aaronfranke/tree-double-click-not-editable
Allow double-clicking icons of non-editable Tree items
2025-11-10 17:46:58 -06:00
BrotherShort
4f5f36c361 fix tree vertical line width bug 2025-11-11 06:51:07 +08:00
kobewi
a981863be4 Remove meta usage in Tree 2025-11-10 16:17:43 +01:00
BrotherShort
db06af0485 Fix tree item editable area missing icon max width bug 2025-11-07 00:27:08 +08:00
DeeJayLSP
b30b11b012 Add custom StyleBox to TreeItem 2025-11-04 22:51:37 -03:00
Michael Alexsander
e32b9274a3
Fix UI focus being shown when it shouldn't 2025-11-03 17:00:05 -03:00
Mike Precup
357caceca6 Optimize tree size computation and the scene tree dock filter 2025-10-22 22:54:12 -07:00
Mike Precup
1ad3b9986e Speed up deletion in large trees via the Scene Tree Dock 2025-10-22 22:46:24 -07:00
Thaddeus Crews
ed4f4d275e
Merge pull request #110904 from YeldhamDev/tree_drag_unfolding
Unfold tree items on hover while drag-n-dropping
2025-10-21 15:11:01 -05:00
Aaron Franke
70ea991c69
Allow double-clicking icons of non-editable Tree items 2025-10-19 00:58:05 -07:00
Thaddeus Crews
9e96c7d9b8
Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Thaddeus Crews
e8535bc27e
Merge pull request #111292 from WhalesState/tree-tooltip-crash
Fix Tree column title tooltip crash.
2025-10-06 09:06:34 -05:00
Mounir Tohami
5a8c3bb0de Fix column title tooltip crash. 2025-10-05 17:48:21 +03:00
chocola-mint
19c47c5d99 Remove #include "scene/main/timer.h" from control.h 2025-10-05 14:41:06 +09:00
Thaddeus Crews
f6aa5ba23c
Merge pull request #97210 from AleksLitynski/object-snapshot-debugger
Add an ObjectDB Profiling Tool
2025-10-03 12:01:11 -05:00
Thaddeus Crews
6b9acd7e9e
Merge pull request #110055 from dagarsar/tree-rtl
Add helper methods to convert right-to-left `Rect2i` and `Point2i` in `Tree`'s `draw_item`
2025-10-01 13:12:34 -05:00
Aaron Franke
1a7be001d2
Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
Michael Alexsander
26745b4b87
Unfold tree items on hover while drag-n-dropping
Co-authored-by: suddjian
2025-09-26 14:38:45 -03:00