Alistair Leslie-Hughes
96cbb7ab65
Correct FileDialog Theme overrides
...
Introduced in 15fd025f90
Fixes #89818
(cherry picked from commit 13d83dd4d7
)
2024-04-08 15:48:29 +02:00
Mounir Tohami
b4be0634d4
Fix TabBar
size when theme changes
...
(cherry picked from commit fdba051a40
)
2024-03-11 23:28:02 +01:00
Mounir Tohami
f90d6dffed
Fix Slider
's drag mouse position when grabber is centered
...
(cherry picked from commit e6a42e3fc5
)
2024-03-11 23:27:20 +01:00
ACB
fb63404aad
Only recurse depth wise in Tree::_count_selected_items
...
(cherry picked from commit 43038bbfcb
)
2024-03-11 23:26:48 +01:00
Mikael Hermansson
696e9e04d9
Fix crash when selecting re-added Tree
item
...
(cherry picked from commit f7c1c83daa
)
2024-03-11 23:24:40 +01:00
Rémi Verschelde
e771e2e379
Don't access Node3D/Node2D/Control global transform in reparent
unless needed
...
Fixes #89002 .
Co-authored-by: Tamás Gálffy <ezittgtx@gmail.com>
(cherry picked from commit 810a0dbff1
)
2024-03-11 23:24:22 +01:00
bruvzg
147b99ae2a
[RTL] Fix meta hover area detection.
...
(cherry picked from commit 42e6cda14e
)
2024-03-11 23:23:39 +01:00
Mateus Reis
e4181c6d48
Fix double text_changed signal when overwriting selection in LineEdit
...
The part of gui_input that handles unicode wasn't checking
text_changed_dirty before emitting the signal, unlike the rest of the text editing functions.
Fixes #86451
(cherry picked from commit cab48493d8
)
2024-03-11 23:20:48 +01:00
Emmanouil Papadeas
d216ac7a2c
Fix MenuBar
hover position scaling properly with the scale factor multiplier
...
(cherry picked from commit e864b26e54
)
2024-03-11 23:20:32 +01:00
Ricardo Subtil
7fd058a7fa
Ensure slider grabs focus only when it can
...
(cherry picked from commit fde51aeb28
)
2024-03-11 22:50:07 +01:00
Micky
a92a2015f0
Fix missing autocompletion for inheriting classes
...
(cherry picked from commit ca2f340384
)
2024-01-25 18:45:01 +01:00
kleonc
6e6d49c68a
Fix ColorPicker's alpha slider arrow offset
...
(cherry picked from commit d76d8c5f29
)
2024-01-25 18:32:35 +01:00
Aitor Guevara
43d24379a5
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.
(cherry picked from commit 6b45694836
)
2024-01-25 18:32:35 +01:00
Michael Wörner
d01c60c178
Changed HTML input color_changed logic.
...
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.
(cherry picked from commit 21d778b0c3
)
2024-01-25 18:08:45 +01:00
Nicholas Foo
4d3e25d09d
Fix RichTextLabel.remove_paragraph crash by popping current
...
(cherry picked from commit c0f8e0061d
)
2024-01-25 17:03:57 +01:00
A Thousand Ships
0c00f3ece2
Redraw TreeItem
on more changes
...
* Custom font changes
* Custom draw changes
* Custom as button
(cherry picked from commit 552594ffdc
)
2024-01-24 16:38:28 +01:00
kit
c4383c0d47
fix dock visibility issues
...
(cherry picked from commit a2674463fa
)
2024-01-24 15:56:50 +01:00
bruvzg
3ba731f9e1
[RTL] Fix CharFX character offset calculation.
...
(cherry picked from commit 7a59efac32
)
2023-12-07 10:27:05 +01:00
Rémi Verschelde
e4aec48bea
VideoPlayer: Fix reloading translation remapped stream
...
Fixes #43917 .
(cherry picked from commit 7d0c561e02
)
2023-12-07 10:27:03 +01:00
Roy Berube
0478c7c1cc
Enable scrolling of output with UI scale changes
...
(cherry picked from commit a7b2e090ad
)
2023-12-07 10:27:02 +01:00
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal
2023-11-17 15:29:39 +03: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
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
DinDotDout
15ec132ea2
Fix ColorPicker shape icon is invisible until shape is changed
2023-11-06 18:08:48 +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
bruvzg
75d22aa816
[RTL] Fix underline/strikethrough line color changes.
2023-10-31 09:34:43 +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