Commit Graph

6526 Commits

Author SHA1 Message Date
Thaddeus Crews 21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Edward Moulsdale e366471fdc Add GDSOFTCLASS to deeper inheritors of Object 2025-09-24 19:15:56 +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
Thaddeus Crews 5db618a2db Merge pull request #109078 from WhalesState/text-edit-clipping
Fix TextEdit clips children and focus style.
2025-09-24 09:59:12 -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
kobewi a57fef9558 Remove overrun code duplication 2025-09-23 16:08:46 +02:00
Thaddeus Crews 7521044465 Merge pull request #110750 from timothyqiu/color-picker-add
ColorPicker: Fix preset button order after calling `add_preset()`
2025-09-22 21:01:01 -05:00
Thaddeus Crews 2d94ad1f3a Merge pull request #93389 from KoBeWi/MASSIVE_copy_paste
Remove code duplication in Button
2025-09-22 13:28:47 -05:00
Thaddeus Crews 035f5d3055 Merge pull request #110763 from Ivorforce/object-derives-from
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05: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 ba0da90ba6 Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews c852872cb2 Merge pull request #108804 from bruvzg/mac_bundle_icon
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Lukas Tenbrink 96619d46a1 Use AncestralClass to speed up Object::cast_to when possible. 2025-09-22 13:21:51 +02:00
Haoyu Qiu 52df1aeb59 ColorPicker: Fix preset button order after calling add_preset 2025-09-21 22:17:38 +08:00
Mounir Tohami b25e35cf58 Fix TextEdit styles and disable clipping.
Co-Authored-By: kit <kitbdev@gmail.com>
2025-09-21 07:32:30 +03:00
kobewi 98a4b46b6a Add more PROPERTY_HINT_GROUP_ENABLE uses 2025-09-20 21:11:12 +02:00
Thaddeus Crews 149a4b4ca1 Merge pull request #107868 from lawnjelly/quick_ancestry4
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Thaddeus Crews 74e869c777 Merge pull request #109981 from bruvzg/clamp_menui_h
Clamp menus at the bottom of the screen.
2025-09-19 20:54:33 -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
Thaddeus Crews 90b771ce3a Merge pull request #109512 from precup/speedy-big-trees
Speed up very large `Trees`
2025-09-19 20:54:14 -05:00
kobewi e3ce74dc7e Remove code duplication in Button 2025-09-19 20:34:41 +02:00
Michael Alexsander aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews f27f917d32 Merge pull request #107955 from lodetrick/mouse-signals
Fix `mouse_entered` and `mouse_exited` Signals being emitted too early
2025-09-19 09:17:04 -05:00
Thaddeus Crews 2c1ad5b07a Merge pull request #109031 from bruvzg/tab_spacing
Include `SPACING_SPACE` in tab stops calculation.
2025-09-19 09:17:00 -05:00
Lukas Tenbrink abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Thaddeus Crews ebb51d1f7d Merge pull request #109363 from Giganzo/line_edit_rtl_icon
Fix LineEdit icon positon in right-to-left layout
2025-09-16 09:48:58 -05:00
Clay John fcd1cf8d57 Merge pull request #110191 from bruvzg/tx_upd_or
[TextEdit] Fix text edit font update order.
2025-09-02 07:24:02 -07:00
Pāvels Nadtočajevs 7368d148c1 [TextEdit] Fix text edit font update order. 2025-09-02 08:51:18 +03:00
Thaddeus Crews 89f32c6ead Merge pull request #110107 from aaronfranke/fix-range-overflow
Fix Range scale overflow
2025-09-01 12:25:47 -05:00
Thaddeus Crews 8ccb7ba2ec Merge pull request #90832 from YeldhamDev/just_ignore_the_margin_bro
Fix incorrect submenu icon and accelerator text positions involving margins
2025-09-01 12:25:44 -05:00
Mounir Tohami 5412885a7a Fix ColorPicker after adding intensity sliders. 2025-09-01 13:06:44 +03:00
Mike Precup 67723a9572 Speed up very large Trees 2025-08-31 13:38:43 -07:00
Aaron Franke efb580e9e5 Fix Range scale overflow 2025-08-29 20:43:51 -07:00
danielgsilva bf7422e2c7 Take into account parent and child folding status when drawing relatioship lines 2025-08-29 14:03:39 +01:00
Pāvels Nadtočajevs 02adbc47ba Do not set flags when PopupMenu::set_visible is called to hide popup. 2025-08-28 13:16:16 +03:00
Thaddeus Crews 9c5cb0d38f Merge pull request #109927 from deralmas/no-reason-to-hide
Popup: Reset state on visibility change
2025-08-27 13:39:40 -05:00
Pāvels Nadtočajevs 90370a08ec Clamp menus at the bottom of the screen. 2025-08-27 15:29:50 +03: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
Aaron Franke 0ad409bcd6 Rescale values to better utilize R128 range before snapping 2025-08-24 09:45:14 -07:00
Dery Almas 31f7d68ef4 Popup: Reset state on visibility change
The original logic was never called for certain platforms, leaving the
hide reason unset and causing weird semi-random issues with the few
users of that internal API, such as when renaming nodes in the scene
tree editor.
2025-08-24 10:37:12 +02:00
kobewi e85e8da55d Enable input when ColorPicker popup exits tree 2025-08-21 13:54:17 +02:00
aaronp64 019f4ab403 Update TextEdit to use center alignment for inline objects
Updated to use center alignment instead of top to avoid shifting the line of text up when adding an object.
2025-08-20 17:19:58 -04:00
Thaddeus Crews 86bb48ab83 Merge pull request #109755 from Giganzo/option-button-icon-clear
Fix OptionButton not removing icon when using clear
2025-08-19 10:29:43 -05:00
Giganzo 5c59a75923 Fix OptionButton not removing icon when using clear 2025-08-19 10:55:42 +02:00
Thaddeus Crews 40c96b8433 Merge pull request #109046 from bruvzg/ac_win_x
[Accessibility] Process non-focusable windows (popups, menus) as part of the parent window tree.
2025-08-18 08:29:12 -05:00
Thaddeus Crews 039a480ff7 Merge pull request #109708 from Giganzo/popup-menu-accel
Fix PopupMenu accel position
2025-08-18 08:29:09 -05:00
Thaddeus Crews 9812d405b8 Merge pull request #109354 from KoBeWi/ETRC
Fix some localization issues in controls
2025-08-18 08:29:09 -05:00
Thaddeus Crews 589e7579da Merge pull request #109541 from bruvzg/le_dblclick
[LineEdit] Fix double click not selecting single character words.
2025-08-18 08:29:06 -05:00