Commit graph

5683 commits

Author SHA1 Message Date
Anish Mishra
14dd595447 Fix uneditable LineEdit, TexEdit and CodeEdit Virtual Keyboard popup 2024-10-17 23:50:28 +05:30
Thaddeus Crews
c220e5bffd
Merge pull request #97122 from adamscott/fix-trackpad-code-completion-scrolling
Fix trackpad code completion scrolling
2024-10-14 14:09:44 -05:00
Rémi Verschelde
f6dbc04bd1
Merge pull request #97809 from Geometror/fix-ge-conn-layer-warning
[GraphEdit] Only print warning for connection layer deletion when justified
2024-10-04 22:43:49 +02:00
Rémi Verschelde
9108c6261b
Merge pull request #97291 from KoBeWi/visible_in_tree_was_a_billion_dollar_mistake
Fix ScrollContainer configuration warnings
2024-10-04 22:43:33 +02:00
Rémi Verschelde
19081a850d
Merge pull request #95889 from KoBeWi/tree_growing_sideways
Allow horizontal scrolling in Tree using Shift
2024-10-04 22:43:17 +02:00
Hendrik Brucker
975e7c8ade [GraphEdit] Only print warning for connection layer deletion when justified 2024-10-04 13:28:15 +02:00
Mounir Tohami
f84f734696 Expose LineEdit edit and unedit methods. 2024-10-04 10:37:33 +00:00
Rémi Verschelde
2d8bfab47c
Merge pull request #97255 from kitbdev/test-tabs
Fix TabBar initialization issue and add tests
2024-10-04 11:21:33 +02:00
Rémi Verschelde
058f06c10d
Merge pull request #93270 from Gamemap/feature-itemlist-autowidth
Add `Auto width` behavior to ItemList
2024-10-04 11:21:14 +02:00
vPumpking
62edb4eee8
Add filename filter field to FileDialog
Added possibility to filter files and folders through a text entry.
2024-10-04 11:12:33 +02:00
Gamemap
1e1dbd8e3a Add Auto width behavior to ItemList
Co-authored-by: Craig Hupin <althar93@hotmail.com>
2024-10-04 08:43:13 +02:00
Rémi Verschelde
5314793ac7
Merge pull request #97519 from timothyqiu/itemlist-at
Add auto translate mode for items in `ItemList`
2024-10-03 15:39:23 +02:00
Rémi Verschelde
ae7fd80d9c
Merge pull request #97730 from KoBeWi/rich_text_label_inside_a_scroll_container_inside_a_bag_of_milk
Handle scroll events in RichtTextLabel
2024-10-03 15:27:24 +02:00
Rémi Verschelde
f3694a6933
Merge pull request #95389 from Gaktan/graph_node_stretch_fix
Fix graph node stretch not taking titlebar into account
2024-10-03 15:27:16 +02:00
kobewi
9bf6148e00 Handle scroll events in RichtTextLabel 2024-10-02 15:47:36 +02:00
Rémi Verschelde
89febc5652
Merge pull request #97439 from Gamemap/itemlist-fix-texttrimming
Fix ItemList text trimming
2024-10-02 15:01:05 +02:00
Stijn Hinlopen
06791e1acd New Quick Open Dialog
- Updated list view with thumbnails, and separate file name.
  - Added a grid view which has larger icons.
  - Added toggle to filter out files from addons.
  - Store history for each opened resource type.

New Editor settings for Quick Open:
  - Startup display mode (grid or list):
      - Determined by the requested resource type.
      - Whatever was last used.
  - Toggle to filter out files from addons (for persistence).

Notes
  - The dialog is now created once in EditorNode, and globally available for other components.
  - A fixed number of result scenes are instantiated, and reused based on query.
  - Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Rémi Verschelde
f4af8201ba
Merge pull request #96309 from Geometror/fix-ge-cs-crash
Prevent crash after removing GraphEdit's connection layer
2024-10-01 19:01:01 +02:00
Gamemap
6a9e50b941 Fix ItemList text trimming and autowrap margin 2024-10-01 17:48:41 +02:00
Haoyu Qiu
3c365a7fa5 Add auto translate mode for cells in Tree 2024-10-01 21:24:10 +08:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
aryan-11825114
b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +05:30
Haoyu Qiu
0101317d46 Add auto translate mode for items in ItemList 2024-09-27 10:52:04 +08:00
Rémi Verschelde
01d567ba1b
Merge pull request #97406 from timothyqiu/tooltip-atm
Add auto translate mode for tooltips
2024-09-26 18:45:35 +02:00
Rémi Verschelde
9a8dcc1eeb
Merge pull request #97397 from timothyqiu/shortcut-in-tooltips
Make `_make_custom_tooltip` receive raw tooltip for buttons with shortcut enabled
2024-09-26 18:45:31 +02:00
Rémi Verschelde
775edd568b
Merge pull request #97389 from timothyqiu/button-autowrap-min-size
Fix button text autowrap overflow when inside a container
2024-09-26 18:45:28 +02:00
Haoyu Qiu
78801f61da Add auto translate mode for tooltips 2024-09-26 22:31:22 +08:00
Rémi Verschelde
a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde
a90da7e87b
Merge pull request #93058 from Repiteo/scons/scons_hints
SCons: Add unobtrusive type hints in SCons files
2024-09-26 12:45:21 +02:00
Rémi Verschelde
c92a6c7e27
CI: Update clang-format pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
Haoyu Qiu
6a7183119f Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabled 2024-09-26 08:05:10 +08:00
Rémi Verschelde
f7c567e2f5
Merge pull request #97447 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-seven
Fix renaming nodes on X11
2024-09-25 19:34:11 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
David Snopek
36293a2dbf Fix renaming nodes on X11 2024-09-25 09:05:51 -05:00
Haoyu Qiu
2e57089135 Add missing ETR macros in ColorPicker 2024-09-25 10:36:07 +08:00
Haoyu Qiu
0f98b32448 Fix button text autowrap overflow when inside a container 2024-09-24 09:55:48 +08:00
Rémi Verschelde
720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
kobewi
59c66585d5 Fix ScrollContainer configuration warnings 2024-09-21 19:53:02 +02:00
Rémi Verschelde
2daea4bb0b
Merge pull request #97269 from timothyqiu/underline-unicode-identifier
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 11:51:02 +02:00
Rémi Verschelde
b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
Haoyu Qiu
208797d54e Fix script editor not underlining Unicode identifiers when Ctrl-hovered 2024-09-21 14:10:05 +08:00
kit
f2f34e9c50 Fix TabBar initialization issue and add tests 2024-09-20 18:49:46 -04:00
Rémi Verschelde
77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde
25c4caa5d7
Merge pull request #97209 from kitbdev/fix-tab-container-ensure-visible-offset
Fix TabContainer tab offset moving when not needed
2024-09-20 16:06:59 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
kit
3d6814e5d2 Fix TabContainer tab offset moving when not needed 2024-09-19 19:26:35 -04:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
MewPurPur
f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00