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
danielgsilva
bc9c14da7a
Add helper methods and simplify logic
2025-09-25 13:41:15 +01:00
Thaddeus Crews
6f57447710
Merge pull request #109943 from kevinlam508/proper-tree-size-without-scrollbars
...
Fix tree to update size with scrollbars disabled
2025-09-24 09:59:13 -05:00
danielgsilva
1a77567029
Add method to check if any cell is selected and fix relationship line conditional
2025-09-24 13:44:57 +01:00
Thaddeus Crews
be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
...
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews
72785c54ed
Merge pull request #110012 from dagarsar/tree-const-arg
...
Reinstate `const` parameter in `Tree`'s `draw_item_rect`
2025-09-19 20:54:31 -05:00
Thaddeus Crews
647546bcac
Merge pull request #110089 from dagarsar/tree-margin-1
...
Fix `Tree` relationship lines do not apply `h_separation` and `item_margin` correctly
2025-09-19 20:54:27 -05:00
Michael Alexsander
aeb3a45c97
Hide Control
focus when given via mouse input
2025-09-19 13:43:29 -03:00
Mike Precup
67723a9572
Speed up very large Trees
2025-08-31 13:38:43 -07:00
danielgsilva
bf7422e2c7
Take into account parent and child folding status when drawing relatioship lines
2025-08-29 14:03:39 +01:00
danielgsilva
611fc62fe4
Reinstate const parameter in draw_item_rect
2025-08-27 10:27:15 +01:00
Kevin Lam
4c9bd858c7
Fix tree to update size with scrollbars disabled
...
When scrollbars are disabled, tree size is dependant on item sizes, so this adds missing checks for when to resize. The side effect of the bug was that scrollbars could incorrectly appear when items change at runtime.
2025-08-24 20:00:48 -05: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