Commit Graph

7051 Commits

Author SHA1 Message Date
StarryWorm d69e34bb20 Allow Label and RichTextLabel to use the new custom_maximum_size
These will be able to use `custom_maximum_size` for autowrapping and trimming, reflecting expected behavior.
2026-04-07 14:34:13 -04:00
StarryWorm 300f7c53c0 Add SCROLL_MODE_MAXIMIZE_FIRST to ScrollContainer
This change enables `ScrollContainer` to make full use of the newly added `custom_maximum_size`. This mode behaves like `SCROLL_MODE_AUTO` but prioritizes expanding the size of the `ScrollContainer` up to its `custom_maximum_size` before displaying scroll bars.
2026-04-07 14:34:13 -04:00
StarryWorm bdca8b66e7 Add custom_maximum_size to Control
This property mirrors `custom_minimum_size` and enables the user to set a size the `Control`. Enabling `propagate_maximum_size` forces all children to respect this node's maximum_size.
Not all `Control` types handle this gracefully, which may result in content clipping.
2026-04-07 14:34:12 -04:00
Thaddeus Crews bd463cfe50 Merge pull request #118014 from warriormaster12/san-submenu-fix
Fix submenu positioning when `PopupMenu` is spawned near window border
2026-04-01 18:10:24 -05:00
Thaddeus Crews a7733e5e0a Merge pull request #117958 from warriormaster12/san-popupmenu-fuzzy-search
Implement fuzzy search for `PopupMenu` search bar
2026-04-01 18:10:22 -05:00
Thaddeus Crews 6a6162070d Merge pull request #117369 from KoBeWi/wrong_port_in_your_viewport
Fix broken panning in floating editors
2026-04-01 18:10:21 -05:00
warriormaster12 a2af91a59b Implement fuzzy search for PopupMenu search bar 2026-03-30 22:00:35 +03:00
warriormaster12 2d94568f3e Fix submenu positioning when PopupMenu is spawned near window border 2026-03-30 21:48:56 +03:00
Thaddeus Crews 3eb96c8313 Merge pull request #117244 from bruvzg/ii
Do not show accessibility configuration warnings for non-focusable controls, account for name fallback.
2026-03-30 13:35:35 -05:00
Thaddeus Crews 656a268688 Merge pull request #117010 from bruvzg/voll_name_win
[Windows] Show drive names in file dialog.
2026-03-30 13:35:34 -05:00
kobewi e1ebc537ce Fix broken panning in floating editors 2026-03-30 16:48:19 +02:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Rémi Verschelde 707b19f397 Revert "Expose Control.call_gui_input"
This reverts commit 35eabf06b9.

This was merged by mistake, there's no consensus yet on the implementation.
2026-03-26 17:08:42 +01:00
Rémi Verschelde ab9175302e Merge pull request #117830 from bruvzg/ac_scroll
[Accessibility] Do not focus on ScrollContainer scroll bars.
2026-03-26 16:02:10 +01:00
Rémi Verschelde c7de9524af Merge pull request #116405 from lyuma/push_gui_event
Expose `Control.call_gui_input()`
2026-03-26 16:01:02 +01:00
Rémi Verschelde f313c3b3f5 Merge pull request #115545 from voylin/reverse-scroll-option
Add scroll switch to ScrollContainer
2026-03-26 16:00:58 +01:00
Rémi Verschelde 4d1c5b9122 Merge pull request #112993 from vaner-org/tree-better-drag
Improve drag and drop in `Tree`
2026-03-26 16:00:52 +01:00
Pāvels Nadtočajevs 4a44702b29 [Accessibility] Do not focus on ScrollContainer scroll bars. 2026-03-25 17:08:28 +02:00
Lyuma 35eabf06b9 Expose Control.call_gui_input
This allows simulated events to be sent directly to individual controls.
2026-03-24 01:48:39 -07:00
vaner-org 8c42aeb39f Improve Tree drag & drop 2026-03-24 04:41:36 +05:30
Rémi Verschelde 970f8236b5 Merge pull request #117733 from KoBeWi/autranslator_localized_(i.e._at_location)
Add `_get_tooltip_auto_translate_mode_at()` to Control
2026-03-23 22:36:15 +01:00
Rémi Verschelde 151eeb8a64 Merge pull request #117612 from jack-klein-5/fix-adding-caret-above-then-below
Fix adding carets above and then below
2026-03-23 22:35:20 +01:00
Rémi Verschelde 8a72ab019d Merge pull request #117154 from BrotherShort/fix-textedit-bugs-with-large-linespacing
Fix `TextEdit` bugs with large `line_spacing`
2026-03-23 22:34:21 +01:00
Rémi Verschelde 881d08622e Merge pull request #115980 from kitbdev/fix-windowwrapper-leaking-inputs
Fix WindowWrapper leaking all key inputs to parent
2026-03-23 22:34:01 +01:00
Rémi Verschelde 1d638eaf41 Merge pull request #115253 from bruvzg/prop_helper_help
[Editor] Generate and display documentation for the properties generated by `PropertyListHelper`.
2026-03-23 22:33:53 +01:00
kit 94c2707a8b Fix WindowWrapper leaking all key inputs to parent 2026-03-23 16:58:42 -04:00
kobewi 0d220b35a5 Add _get_tooltip_auto_translate_mode_at() to Control 2026-03-22 17:56:46 +01:00
Pāvels Nadtočajevs 300ae1ba32 [TextEdit] Ignore IME updates and Alt sequences when control is read-only. 2026-03-19 21:57:39 +02:00
BrotherShort 5e0c7940d5 Fix TextEdit bugs with large line_spacing 2026-03-20 01:40:45 +08:00
Thaddeus Crews 013fc6f92a Merge pull request #114102 from AR-DEV-1/13823-imp
Add tilde symbol (~) to the FileDialog
2026-03-19 10:20:04 -05:00
jack-klein-5 10efa6d1f3 Fix adding carets above and then below
Fix bug #117549 where adding a caret on the line
above then the line below and then above again
results in carets no longer being added.
2026-03-19 00:10:24 -07:00
Rémi Verschelde 98868393cc Style: Enforce #include validation hook 2026-03-18 10:41:59 +01:00
Pāvels Nadtočajevs 2c2ed8ddb5 [Editor] Generate and display documentation for the properties generated by PropertyListHelper. 2026-03-18 11:26:03 +02:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Thaddeus Crews 8423b86dd4 Merge pull request #117201 from uno1982/fix/richtextlabel-drag-selection-after-double-click
Fix RichTextLabel drag selection not working after double-click
2026-03-17 13:44:05 -05:00
voylin 4282c503c9 Add scroll switch to ScrollContainer 2026-03-17 11:47:08 +09:00
Rémi Verschelde 1eb0374e5f Merge pull request #117488 from YeldhamDev/layout_custom_anchor_fix
Fix "Custom" anchor preset being ignored if the parent isn't a `Control`
2026-03-16 23:41:27 +01:00
Rémi Verschelde c40d3b9b0d Merge pull request #117480 from akien-mga/clangd-misc-fixes
Misc includes or modernize fixes found via clangd-tidy
2026-03-16 23:41:23 +01:00
Rémi Verschelde 1a69be88e2 Merge pull request #111819 from MewPurPur/democratize-cursor-shape
Add virtual `_get_cursor_shape()` method in Control
2026-03-16 23:41:08 +01:00
Michael Alexsander 697c4f1d0c Fix "Custom" anchor preset being ignored if the parent isn't a Control 2026-03-16 17:56:33 -03:00
Rémi Verschelde 7795057e4b Misc includes or modernize fixes found via clangd-tidy 2026-03-16 21:38:26 +01:00
MewPurPur 64fcc13fc5 Add virtual _get_cursor_shape() method in Control 2026-03-16 22:12:39 +02:00
Thaddeus Crews 326a2f4af6 Merge pull request #116850 from Anyone4551/fix-textedit-right-margin
[TextEdit] Fix clipping of last character due to right margin rounding
2026-03-16 11:32:53 -05:00
Marco Antonio c85ada054b GUI: Set accessibility name on Tree inline editor when editing cells 2026-03-16 11:23:14 -05:00
Anyone4551 4c8b5f960f [TextEdit] Fix right margin rounding clipping last character 2026-03-16 11:09:55 -05:00
Giganzo ec11acd2e8 Fix PopupMenu sizing with search bar 2026-03-15 15:14:17 +01:00
Rémi Verschelde 96436e33f9 Merge pull request #117277 from Ryan-000/ryan-opt-tree
Optimize AnimationTree, Improve internals & Editor & `Node::process_thread_group` safety
2026-03-14 12:16:19 +01:00
Ryan 1a5d818ea9 Optimize AnimationTree & Improve internals
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
2026-03-14 02:24:21 -04:00
Thaddeus Crews 46dd8eb6e9 Merge pull request #117333 from Goldenlion5648/lookup-symbol-fix
Make the caret at end of word work for lookup
2026-03-13 12:14:00 -05:00
Pāvels Nadtočajevs cdb35db426 Do not show accessibility configuration warnings for non-focusable controls, account for name fallback. 2026-03-13 08:53:09 +02:00