1
0
Fork 0
Commit Graph

625 Commits

Author SHA1 Message Date
Mike Precup 67723a9572 Speed up very large Trees 2025-08-31 13:38:43 -07:00
Pāvels Nadtočajevs 3f757c41fc
Update access-kit to 0.17.0 2025-07-29 08:37:01 +03:00
passivestar fed6b0dfe5 Fix Tree cell text vertical alignment 2025-07-26 16:32:01 +04:00
kobewi 1f4044c0f1 Fix inconsistent column in Tree click detection 2025-07-17 14:29:44 +02:00
danielgsilva 3b17450261 Draw guide lines over selection and focus styleboxes 2025-07-08 11:30:40 +01:00
BrotherShort 842b534bee Fix rename autoloads 2025-06-22 12:59:48 +08:00
Micky 76a7c31a5d Rename TreeItem's `alt_text` to `description` for consistency
...with Accessibility API
2025-06-14 19:56:30 +02:00
Thaddeus Crews 6c16d3a61f
Merge pull request #106286 from BrotherShort/FileSystemTree-rename-offset
Fix FileSystemTree rename TextEdit is offset
2025-06-04 10:34:31 -05:00
Michael Alexsander 454e4f817c
Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
Thaddeus Crews 777f1c10fa
Merge pull request #105376 from KoBeWi/quequeque
Queue hover update when creating TreeItem
2025-05-26 11:24:32 -05:00
BrotherShort 9222341575 Fix FileSystemTree rename TextEdit is offset 2025-05-23 01:02:06 +08:00
kobewi c632cf9ffa Deselect invisible TreeItems 2025-05-20 16:58:54 +02:00
Haoyu Qiu 7aa9174bc4 Lazy create menu and slider nodes in `Tree` 2025-05-19 15:59:48 +08:00
Haoyu Qiu 88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
Thaddeus Crews 4e507792f2
Merge pull request #105918 from DarkMessiah/fix_tree_item_custom_bg_color
Fix background size calculation in TreeItem
2025-05-13 16:22:14 -05:00
Thaddeus Crews 01fc9aee6c
Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
lawnjelly f8f350a32a Add `GLOBAL_GET` cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Stanislav Labzyuk efd29f4caa Fix background size calculation in TreeItem 2025-04-29 19:58:29 +02:00
dugramen eb973015d6 Tree multiselect with shift up & down arrow keys 2025-04-25 21:47:16 -04:00
Thaddeus Crews 8aaae4f4f3
Merge pull request #98560 from Koyper/tree_relationship_line_fix
[Tree] Fix relationship lines 1px width draw bug when MSAA anti aliasing is enabled
2025-04-21 08:24:06 -05:00
Koyper 4766e32419 Fix Tree relationship line 1px width draw bug. 2025-04-14 18:07:03 -05:00
kobewi ac2179c546 Queue hover update when creating TreeItem 2025-04-14 10:46:03 +02:00
Thaddeus Crews 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
Thaddeus Crews 3e9f624b0b
Merge pull request #103791 from BrotherShort/scenetree_item_text_display
Fix SceneTree Item text display bug in Right-to-Left
2025-04-10 10:18:15 -05:00
Thaddeus Crews 504036466b
Merge pull request #102878 from Giganzo/tree-jiggle
Fix Tree buttons jiggle on horizontal scrolling
2025-04-10 10:18:11 -05:00
Pāvels Nadtočajevs b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
Thaddeus Crews e471465d39
Merge pull request #104370 from BrotherShort/no-arrow-no-root-offset
Tree: Fix offset relationship lines with Hide Folding
2025-03-30 09:06:02 -05:00
Thaddeus Crews bc5c739ff8
Merge pull request #104708 from Alex2782/tree_cleanup
`Tree`: apply comment style guidelines and remove unused variables.
2025-03-30 09:06:00 -05:00
Alexander Hartmann b96e8d5886 Tree: apply comment style guidelines and remove unused variables.
Co-Authored-By: Tomasz Chabora <2223172+KoBeWi@users.noreply.github.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-03-28 18:03:39 +01:00
BrotherShort f660cdb7cf
Tree: Fix offset relationship lines with Hide Folding 2025-03-28 15:05:24 +01:00
Rémi Verschelde 0251fc4476
Merge pull request #104399 from scgm0/Improve-Popup-content_scale_factor
Improve Popup `content_scale_factor`
2025-03-28 14:32:58 +01:00
Rémi Verschelde 1116fc7b0f
Merge pull request #104201 from BrotherShort/folding-move-to-2nd-col
Fix folding arrow and relationship lines move to 2nd column.
2025-03-28 14:32:35 +01:00
scgm0 27438a1b9d Improve Popup content_scale_factor 2025-03-26 23:47:40 +08:00
Thaddeus Crews fe3aa047c9
Merge pull request #104241 from Macksaur/tree-item-button-drag
Prevent clicking of TreeItem buttons when letting go outside of the button
2025-03-24 15:27:30 -05:00
Thaddeus Crews a76c1ac1d6
Merge pull request #104141 from BrotherShort/treeitem-rename-edit-offset
Fix the TreeItem rename LineEdit is offset
2025-03-19 17:46:08 -05:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Mack 146fa48a4a Prevent clicking of TreeItem buttons when letting go outside of the button. 2025-03-16 16:35:29 +00:00
Pāvels Nadtočajevs 2bbf0f2317
Add properties to configure space trimming on line break. 2025-03-16 16:15:37 +02:00
BrotherShort 3c9c0006b4 Fix folding arrow and relationship lines move to 2nd column. 2025-03-16 05:20:42 +08:00
BrotherShort 08f93fcf1e Fix the TreeItem rename LineEdit is offset 2025-03-15 02:39:23 +08:00
Thaddeus Crews d190cc6d6f
Merge pull request #100412 from havi05/tree-hover-on-selected
`Tree` highlight selected items on hover
2025-03-13 08:57:18 -05:00
Aryombre eeb46b7c70 Fix : drag unselected tree item when 2+ tree items selected now correctly drag the pointed item 2025-03-13 00:48:51 +01:00
BrotherShort b1938c41bb Fix SceneTree Item text display bug 2025-03-09 23:02:34 +08:00
BrotherShort 7d7b773147 Fix SceneTree's rename LineEdit's offset position 2025-03-06 23:36:08 +08:00
Thaddeus Crews 8171c06036
Merge pull request #102865 from Giganzo/tree-keyboard-nav-rtl
Fix Tree keyboard navigation in RTL direction
2025-03-05 12:08:05 -06:00
BrotherShort 571cd4de7d Keep editor SceneTree buttons attached to the cell in Right-To-Left
Update tree.cpp.
Fix #102191.

Update scene/gui/tree.cpp

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-03-04 03:38:41 +08:00
Giganzo 00527d0588 Fix Tree hover position with multiple columns 2025-02-19 17:09:38 +01:00
Hilderin 26cbaca446 Fix Tree Mouse hover position 2025-02-16 08:45:09 -05:00
Giganzo d687f375bb Fix Tree buttons jiggle on horizontal scrolling 2025-02-14 22:59:20 +01:00
Giganzo bd63123835 Fix Tree keyboard navigation in RTL direction 2025-02-14 16:35:44 +01:00