Commit Graph

7069 Commits

Author SHA1 Message Date
Thaddeus Crews 1aabcb9e9b Merge pull request #118306 from StarryWorm/text-edit-max-size
Make `TextEdit`'s `scroll_fit_content_*` properties work properly with maximum sizes
2026-04-10 10:32:44 -05:00
Thaddeus Crews 4286c20dac Merge pull request #118323 from StarryWorm/fix-tabbar-max-width
Fix tab bar max width behavior
2026-04-10 10:32:32 -05:00
Thaddeus Crews cba344c16d Merge pull request #112617 from Meorge/feat/richtextlabel-img-em
Add option to scale images in RichTextLabel relative to font size
2026-04-10 10:32:20 -05:00
Chaosus 34777ad0e4 Implement inline text shader previews
Co-authored-by: Cashew OldDew <155181921+cashew-olddew@users.noreply.github.com>
2026-04-10 08:40:02 +03:00
Thaddeus Crews 4bd85ce4b0 Merge pull request #110893 from Kazox61/basebutton-multitouch
`BaseButton`: multitouch support
2026-04-09 17:41:10 -05:00
Thaddeus Crews 27799eb871 Merge pull request #117847 from Nolkaloid/keyword_icon
Add  keyword code completion option
2026-04-09 17:41:09 -05:00
Kazox61 13b347b497 Use also TouchInput for Buttons to support Multitouch 2026-04-09 11:19:28 +02:00
StarryWorm b83cfb00dc Fix tab bar max width behavior 2026-04-08 14:45:11 -04:00
Nolkaloid 1d165e7ea9 Add keyword code completion option 2026-04-08 20:04:08 +02:00
Leeso 3b0e821440 TextEdit: Ensure caret is visible after paste 2026-04-08 10:01:48 -05:00
Thaddeus Crews 9273a6a9a0 Merge pull request #118305 from bruvzg/fix_rtl_log_crash
[RTL] Fix `remove_paragraph` crash.
2026-04-08 09:25:49 -05:00
Thaddeus Crews 59d29ed05f Merge pull request #118137 from Infiland/issue-118033
Fix PopupMenu internal ScrollContainer inheriting global theme styles
2026-04-08 09:25:23 -05:00
StarryWorm 747c3deeb5 TextEdit::scroll_fit_content_* is now maximum size aware
If `Control::get_combined_maximum_size()` returns a size smaller than `get_minimum_size()` in the target axis, scrollbars are shown.
2026-04-08 08:36:53 -04:00
Pāvels Nadtočajevs 574e35c2be [RTL] Fix remove_paragraph crash. 2026-04-08 15:32:46 +03:00
Malcolm Anderson c309339ec6 Allow image dimensions in RichTextLabel to be relative to font size 2026-04-07 16:41:20 -07:00
Thaddeus Crews 4c8cdd2ec0 Merge pull request #118277 from bruvzg/rtl_rid_count
Increase max RID count for some owners, decrease RID usage by `RichTextLabel`.
2026-04-07 18:21:53 -05:00
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
Pāvels Nadtočajevs eeafab862d Increase max RID count for some owners, decrease RID usage by RichTextLabel. 2026-04-07 17:07:23 +03:00
Infiland 0d8ff6f137 Fix PopupMenu internal ScrollContainer inheriting global theme styles
The internal ScrollContainer created by PopupMenu picks up user-defined
global ScrollContainer theme styles (e.g., panel StyleBox), overriding
PopupMenu's intended appearance. This adds a StyleBoxEmpty override on
the internal ScrollContainer's panel to prevent theme bleed-through.

Fixes #118033.
2026-04-03 00:57:45 +02: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