Rémi Verschelde
f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
...
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde
cbae80006c
Merge pull request #82079 from RoyBerube/OutputScroll
...
Enable scrolling of output with UI scale changes
2023-12-04 22:57:33 +01:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
Ricardo Subtil
fde51aeb28
Ensure slider grabs focus only when it can
2023-12-02 11:06:06 +00:00
Mika Viskari
187bb61e7b
Fix horizontal mouse wheeling in 2D editor view
2023-11-28 17:36:02 +02:00
bruvzg
7a59efac32
[RTL] Fix CharFX character offset calculation.
2023-11-26 00:07:46 +02:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction.
2023-11-17 14:56:45 +02:00
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal
2023-11-17 15:29:39 +03:00
Hugo Locurcio
9f1870ec49
Hide ineffective TextureProgressBar properties in the editor
...
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Stanislav Labzyuk
ff8797e980
Implement disabled state for Checkbox in Tree
2023-11-15 17:13:34 +01:00
Markus Sauermann
fa02d19fd1
Fix internal events not being delivered to some Window types
...
`AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to
"window_input" signal, because that is only sent if it is not an
internal signal.
Instead they receive events in `_input_from_window`. They ensure that
the event is also propagated to their super-function, just like
previously the signals would be treated.
2023-11-14 20:29:17 +01:00
Hendrik Brucker
1a8e676131
Add different grid patterns to GraphEdit
2023-11-14 19:48:31 +01:00
Rémi Verschelde
c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
...
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
bruvzg
4a82d3b16d
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 08:31:44 +02:00
jsjtxietian
b79cac6d2d
Make Tree's set_selected check if treeitem belongs to the tree
2023-11-14 11:34:00 +08:00
jsjtxietian
306a8eec58
Add protection in RichTextLabel.update_image to prevent crash
2023-11-13 18:01:14 +08:00
Rémi Verschelde
7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
...
Fixes #43917 .
2023-11-12 15:22:16 +01:00
Rarysson Guilherme
beeca2ae82
Make ProgressBar show the real percent when allow greater/lesser is checked
2023-11-11 11:18:41 -03:00
coumcashier
1533292f09
Fix storing invalid item height values in ItemList
...
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.
2023-11-10 19:54:31 +01:00
Rémi Verschelde
c2246a5a6f
Merge pull request #84668 from YuriSizov/gui-dont-warn-when-popup-subs-are-nameless
...
Allow auto-generated node names in `PopupMenu::add_submenu_item`
2023-11-09 18:10:35 +01:00
Rémi Verschelde
f7a701587e
Merge pull request #84662 from YuriSizov/gui-warn-about-autowrapping
...
Warn about autowrapped labels in containers
2023-11-09 18:09:25 +01:00
Rémi Verschelde
d36cc7313e
Merge pull request #84547 from kitbdev/mouse-notif-3
...
Make Mouse Enter/Exit notifications match Mouse Events
2023-11-09 18:08:37 +01:00
Yuri Sizov
edcad2ea88
Allow auto-generated node names in PopupMenu::add_submenu_item
2023-11-09 17:12:41 +01:00
Yuri Sizov
58a3cfa192
Warn about autowrapped labels in containers
2023-11-09 16:33:46 +01:00
kit
d24d73ba31
Make mouse-enter/exit notifications match mouse event propagation
...
`NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes
the areas of children control nodes if the mouse filters allow it.
In order to check if a Control node itself was entered/exited, the newly
introduced `NOTIFICATION_MOUSE_ENTER_SELF` and
`NOTIFICATION_MOUSE_EXIT_SELF` can be used.
Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
2023-11-09 09:11:59 -05:00
Rémi Verschelde
cfcb0a1efc
Merge pull request #84605 from bruvzg/fix_list_al
...
[RTL] Fix list bullet alignment.
2023-11-08 19:10:47 +01:00
bruvzg
e1c6dd522b
[RTL] Fix list bullet alignment.
2023-11-08 08:26:30 +02:00
Hugo Locurcio
079f1c8ead
Display a revert icon on ColorPicker's old sample
...
This denotes that the color can be clicked to revert to the old color.
2023-11-07 10:04:39 +01:00
Roy Berube
a7b2e090ad
Enable scrolling of output with UI scale changes
2023-11-06 12:17:49 -07:00
DinDotDout
15ec132ea2
Fix ColorPicker shape icon is invisible until shape is changed
2023-11-06 18:08:48 +01:00
Aitor Guevara
6b45694836
Trigger zoom from pan gestures when pressing ctrl
...
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.
2023-11-01 17:49:04 +01:00
Rémi Verschelde
3d0041ff97
Merge pull request #84287 from bruvzg/rtl_img_resize_and_dropcap_flow
...
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-11-01 15:11:20 +01:00
Rémi Verschelde
cfbccdbf44
Merge pull request #84183 from jsjtxietian/fix-activate_item_by_event-crash
...
Fix `activate_item_by_event` infinite recursion crash
2023-11-01 15:10:08 +01:00
jsjtxietian
137b25cf53
Fix activate_item_by_event
infinite recursion crash
2023-11-01 10:29:59 +08:00
bruvzg
9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-10-31 22:39:42 +02:00
David Crespo
0be873bed2
Add compability rename of (v)align properties of Label
2023-10-31 14:39:57 -05:00
bruvzg
75d22aa816
[RTL] Fix underline/strikethrough line color changes.
2023-10-31 09:34:43 +02:00
kit
a2674463fa
fix dock visibility issues
2023-10-30 10:52:07 -04:00
aXu-AP
16e0fcd04a
Show selected end of line in TextEdit
...
Continues selection box at the end of line if eol/carriage return is selected.
2023-10-30 12:49:30 +02:00
Rémi Verschelde
214405350f
Merge pull request #84113 from BlueCube3310/texture2d-dropdown-fix
...
Change dropdown type filter from Texture to Texture2D in certain nodes
2023-10-28 18:36:32 +02:00
BlueCube3310
bd67e0a0bc
Change dropdown type filter to Texture2D in certain nodes
2023-10-28 17:39:47 +02:00
Rémi Verschelde
17da2c5b53
Merge pull request #83963 from YeldhamDev/try_active_tabs_first
...
Fix disabled tabs being selected when removing the current one
2023-10-28 12:31:38 +02:00
Rémi Verschelde
51875ac998
Merge pull request #83678 from qycyfjy/master
...
Fixing visual shader crash when arranging
2023-10-28 12:30:51 +02:00
Rémi Verschelde
924d861f6c
Merge pull request #84001 from chybby/83801-truncate-custom-icons
...
Fix TreeItem truncating node names too much when using a custom icon
2023-10-27 11:38:32 +02:00
kit
8985a46bdd
TabBar save current tab
2023-10-26 18:32:22 -04:00
Adam Chyb
1785978872
Fix TreeItem truncating node names too much when using a custom icon
...
Fixes #83801 .
2023-10-27 00:30:48 +11:00
Rémi Verschelde
71bef69318
Merge pull request #83966 from kitbdev/fix-tabcontainer-drag
...
Fix `TabContainer` drag to rearrange issue
2023-10-26 09:01:09 +02:00
Rémi Verschelde
d2982000a4
Merge pull request #83961 from bruvzg/menu_bar_update_size
...
[Menu Bar] Update min. size when items are added/removed/changed.
2023-10-26 09:00:20 +02:00
Rémi Verschelde
cb167fd84c
Merge pull request #83952 from AThousandShips/popup_crash
...
Ensure input event is valid in `PopupMenu::activate_item_by_event`
2023-10-26 08:59:57 +02:00
Rémi Verschelde
70f50c9751
Merge pull request #83946 from timothyqiu/text-edit-placeholder
...
Translate TextEdit placeholder
2023-10-26 08:59:33 +02:00
Rémi Verschelde
e566167b48
Merge pull request #83925 from jsjtxietian/fix-timer-error-when-base-button-leave-tree-and-feedback
...
Fix BaseButton `shortcut_feedback`'s timer will raise error when the button is removed from the scene tree
2023-10-26 08:58:22 +02:00
kit
b7884878fb
Fix TabContainer drag to rearrange
2023-10-25 16:22:32 -04:00
Michael Alexsander
c3fc87964f
Fix disabled tabs being selected when removing the current one
2023-10-25 16:46:54 -03:00
bruvzg
961e8af8bb
[Menu Bar] Update min. size when items are added/removed/changed.
2023-10-25 22:27:44 +03:00
A Thousand Ships
f721b34b4e
Ensure input event is valid in PopupMenu::activate_item_by_event
2023-10-25 17:45:01 +02:00
Haoyu Qiu
d53529f488
Translate TextEdit placeholder
2023-10-25 22:51:17 +08:00
jsjtxietian
47d601b316
Fix BaseButton.shortcut_feedback's timer raises errors
...
when a button is removed from the scene tree
2023-10-25 14:47:25 +08:00
Hendrik Brucker
9391046c32
Fix GraphNode slot index inconsistency.
2023-10-24 16:19:33 +02:00
Hugo Locurcio
d335155b46
Increase precision of RAW mode in ColorPicker
...
This sets the slider step to `0.001` but keeps SpinBox arrow increments
at `0.01`.
2023-10-23 18:33:56 +02:00
DennisManaa
1a1c542836
Implement automatic translation for ItemList
2023-10-23 10:14:08 +02:00
kit
701c8d8323
Fix tab dragging issues
2023-10-22 13:58:31 -04:00
qycyfjy
91894a2a5d
Fixing iterator invalidation
2023-10-20 22:13:46 +08:00
Rémi Verschelde
68a183a2d9
Merge pull request #83626 from YuriSizov/control-less-is-more-as-in-less-excessive-notifications-is-more-performance
...
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-20 15:12:11 +02:00
Rémi Verschelde
a434062e2c
Merge pull request #81724 from jsjtxietian/fix-line-edit-secret-char-hard-to-change
...
Make LineEdit secret character easier to change and enter
2023-10-20 15:07:29 +02:00
Yuri Sizov
215e036600
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-19 18:14:14 +02:00
jsjtxietian
6950aab078
Make LineEdit secret character easier to change and enter
...
1. Allow values longer than 1 character in the property,
but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
Rémi Verschelde
0f710e688c
Merge pull request #83517 from YuriSizov/for-NON-separator-items-add-some-padding-for-the-content
...
Fix incorrect offset of `PopupMenu` separator icons
2023-10-18 16:54:52 +02:00
Rémi Verschelde
680b59954b
Merge pull request #81638 from jsjtxietian/fix-spinBox-reset-text-when-redraw
...
Fix SpinBox will reset unsubmited text when redrawing
2023-10-18 16:54:32 +02:00
Rémi Verschelde
024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
...
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Yuri Sizov
ccb989569d
Fix incorrect offset of PopupMenu
separator icons
2023-10-17 20:38:35 +02:00
Rémi Verschelde
3e8dc9df0a
Merge pull request #83286 from bronsonholden/fix-text-edit-hscroll-jitter
...
Remove vertical scrollbar padding from line width calc
2023-10-17 16:12:58 +02:00
Rémi Verschelde
72b14b54a1
Merge pull request #73502 from Kurble/text-edit-scrolling-precision
...
Fix code editor scrolling experience on track pads
2023-10-16 12:58:57 +02:00
Wierdox
7b33ad354a
Fix phantom tab right button.
2023-10-13 16:34:05 -07:00
Rémi Verschelde
74d7796dbd
Merge pull request #80916 from ajreckof/fix-deferred-mode-not-working-for-color-picker-sliders
...
Fix ColorPicker deferred mode not working for sliders.
2023-10-13 22:15:45 +02:00
Bronson Holden
ed16df1807
Remove vertical scrollbar padding from line width calc
...
Visibility of the vertical scrollbar is already accounted for in
`_update_wrap_at_column` which in turn affects max line width of
the text area.
2023-10-13 10:50:01 -07:00
ajreckof
3160add2b0
Fix ColorPicker deferred mode not working for sliders.
2023-10-13 14:35:47 +02:00
Danil Alexeev
881fe67d94
Code Editor: Fix regression with using doc comments for code regions
2023-10-13 09:38:03 +03:00
Bram Buurlage
1cf6b2cc2e
Put cheaper condition first
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-12 12:27:35 +02:00
Rémi Verschelde
49cdd330be
Merge pull request #81034 from garychia/open_folder
...
FileDialog: Avoid selecting the first item automatically in Open Folder Mode
2023-10-10 22:49:16 +02:00
Rémi Verschelde
6f8b7e9895
Merge pull request #83065 from KoBeWi/tree_works_in_mysterious_ways
...
Allow clicking buttons of non-selectable TreeItems
2023-10-10 12:34:22 +02:00
Rémi Verschelde
added7d154
Merge pull request #83062 from bruvzg/no_dup_es
...
Do not apply extra spacing twice.
2023-10-10 09:12:17 +02:00
kobewi
7fb0cf2bd9
Allow clicking buttons of non-selectable TreeItems
2023-10-09 22:41:36 +02:00
bruvzg
100565a0c9
Do not apply extra spacing twice.
2023-10-09 21:38:23 +03:00
Rémi Verschelde
a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
...
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde
4f85375b17
Merge pull request #82970 from bruvzg/rtl_round
...
[RTL] Remove unnecessary glyph position rounding.
2023-10-09 15:35:32 +02:00
Rémi Verschelde
c1fed53943
Merge pull request #80271 from Ymanawat/optionmenu-scroll-test
...
Fix scrolling on keyboard/controller input
2023-10-09 15:30:57 +02:00
Rémi Verschelde
c6635b4640
Merge pull request #71519 from adamscott/fix-code-completion-home-end
...
Fix code completion override of home and end keys
2023-10-09 15:30:27 +02:00
A Thousand Ships
f18aa00e85
Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-10-08 17:23:33 +02:00
jsjtxietian
61be3eafc0
Fix spinBox will reset text when redrawing
2023-10-08 20:03:08 +08:00
bruvzg
49595ca225
[RTL] Remove unnecessary glyph position rounding.
2023-10-08 12:38:06 +03:00
Adam Scott
25cbb682f5
Fix code completion override of home and end keys
2023-10-06 14:48:45 -04:00
kobewi
1fee40a189
Accept cancel event when unfocusing LineEdit
2023-10-06 16:00:56 +02:00
Rémi Verschelde
3075e4ef1d
Merge pull request #82811 from MewPurPur/more-line-edit-organization
...
Place LineEdit secret in its own section
2023-10-06 12:52:58 +02:00
bruvzg
f93e254b58
[PopupMenu] Handle shortcuts with "global" flag directly.
2023-10-06 11:16:41 +03:00
kobewi
09b30be86d
Add vararg call() method to C++ Callable
2023-10-05 11:35:29 +02:00
Rémi Verschelde
aa554e8278
Merge pull request #82694 from BrianMacIntosh/master
...
"Whole Words" search can detect word boundaries inside the search term.
2023-10-05 10:08:58 +02:00
MewPurPur
dc2e0aab6f
Place LineEdit secret in its own section
2023-10-04 22:41:45 +03:00
Rémi Verschelde
e8e79c9195
Merge pull request #82776 from MewPurPur/more-text-edit-organization
...
Organize TextEdit's inspector
2023-10-04 15:46:05 +02:00
Rémi Verschelde
4321806e46
Merge pull request #82743 from bruvzg/fd_no_editor
...
[File Dialog] Do not open native file dialogs in the edited scene.
2023-10-04 15:44:29 +02:00
Rémi Verschelde
d5db0e5032
Merge pull request #81218 from bruvzg/_temp_fs
...
[Native File Dialogs] Improve filter list handling, add selected filter to the callback.
2023-10-04 15:34:16 +02:00