Yuri Sizov
672b034076
Merge pull request #87303 from bruvzg/fd_options_no_editor
...
[Native File Dialog] Add support for adding custom options to the dialogs (w/o editor changes).
2024-01-25 16:26:58 +01:00
Yuri Sizov
9c9a00f3a8
Merge pull request #87432 from Rindbee/fix-set_global_position-in-control
...
Fix issue where `set_global_position(global_position)` in `Control` resulted in a different result than `global_position`
2024-01-24 14:08:40 +01:00
Yuri Sizov
a32a2eaedc
Merge pull request #87417 from AThousandShips/tree_clear
...
Use callable for `TreeItem` custom draw
2024-01-24 14:08:36 +01:00
Yuri Sizov
d454fccdb3
Merge pull request #87395 from mrcdk/popupmenu_get_state
...
Expose `PopupMenu` `get_item_multistate()` and `set/get_item_multistate_max()`
2024-01-24 14:08:32 +01:00
bruvzg
a8f521bcad
[Native File Dialog] Add support for adding custom options to the dialogs.
...
Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in).
2024-01-24 15:00:31 +02:00
A Thousand Ships
257d03681c
Use callable for `TreeItem` custom draw
...
Deprecating old functionality
2024-01-23 12:07:43 +01:00
Yuri Sizov
a07df648ec
Merge pull request #87474 from Rindbee/fix-forgetting-h_separation-when-internal_elements-exist
...
Fix forgetting `h_separation` when internal elements exist
2024-01-22 20:39:36 +01:00
mrcdk
c9bdccf7f2
Expose PopupMenu get_item_multistate(), get_item_multistate_max() and set_item_multistate_max()
2024-01-22 20:07:19 +01:00
风青山
0c6b6fe749
Fix issue where `set_global_position(global_position)` in `Control` resulted in a different result than `global_position`
...
Previously, the case where the pivot point was not at the origin was ignored.
2024-01-23 00:05:11 +08:00
风青山
567e76f935
Fix forgetting `h_separation` when internal elements exist
2024-01-22 22:20:01 +08:00
A Thousand Ships
552594ffdc
Redraw `TreeItem` on more changes
...
* Custom font changes
* Custom draw changes
* Custom as button
2024-01-22 13:51:20 +01:00
Yuri Sizov
66b0bd9203
Merge pull request #86158 from Geometror/ge-connection-rework
...
Rework `GraphEdit` connections (drawing, API, optimizations)
2024-01-18 19:26:56 +01:00
Hendrik Brucker
9d7c2978f4
Rework GraphEdit connections (drawing, API, optimizations)
...
- GraphEdit now uses Line2D nodes to draw connection lines and uses a dedicated canvas item shader for them
2024-01-18 16:53:15 +01:00
Rindbee
f29a7d302e
Make the drawing logic clearer in `Button`
...
The drawing logic follows the calculation logic in `Button::get_minimum_size`.
According to the order of `stylebox`, `icon`, and `text`, and follow properties
such as alignment mode, to fill the display space of the button.
Add a `Button::_set_h_separation_is_valid_when_no_text` for Button derived
classes (like `OptionButton`) that expects a `h_separation` between `icon`
and theme icon even if the `text` is empty.
2024-01-18 22:57:22 +08:00
Rémi Verschelde
04eafd557f
Merge pull request #87249 from bruvzg/macos_menu_clear
...
[macOS] Do not unbind PopupMenu from global menu on `clear` call.
2024-01-16 15:07:47 +01:00
bruvzg
5a61fecd0e
[macOS] Do not unbind PopupMenu from global menu on `clear` call.
2024-01-16 15:33:14 +02:00
Nicholas Foo
c0f8e0061d
Fix RichTextLabel.remove_paragraph crash by popping current
2024-01-16 13:52:19 +02:00
Rémi Verschelde
039379d272
Merge pull request #84193 from kitbdev/dock-manager-extract
...
Extract `EditorDockManager` from `EditorNode`
2024-01-16 10:35:11 +01:00
kit
2323f040e9
Extract editor dock manager
2024-01-15 15:15:42 -05:00
Rémi Verschelde
3482da422d
Merge pull request #87012 from TheSofox/line-edit-undo-caret-fix
...
Fix `LineEdit` caret rendering/positioning on Undo.
2024-01-15 13:27:02 +01:00
Rémi Verschelde
c1da69d8f2
Merge pull request #86141 from Maran23/popup-hover-height-calc
...
Fix Popup hover and height calculation are off by some pixels
2024-01-15 13:23:42 +01:00
Rémi Verschelde
087a397477
Merge pull request #86301 from KoBeWi/deferred_cleanup
...
Update deferred calls to use Callables
2024-01-11 17:36:29 +01:00
Rémi Verschelde
365755fb34
Merge pull request #84946 from DarkMessiah/default-theme-checkbox-disabled-state
...
Use disabled icons for CheckBox in DefaultTheme
2024-01-10 12:03:12 +01:00
Sofox
6888d957dc
Fix LineEdit caret rendering/positioning on Undo.
2024-01-09 17:14:55 +00:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
4181027596
Merge pull request #84442 from Calinou/colorpicker-allow-more-hex-codes
...
Allow additional hexadecimal color codes in ColorPicker
2024-01-09 11:27:14 +01:00
Hugo Locurcio
80a770a8ed
Allow additional hexadecimal color codes in ColorPicker
...
The following formats are now accepted (leading `#` is optional):
- `#1` -> `#111111`
- `#12` -> `#121212`
- `#12345` -> `#11223344` (`5` at the end is discarded)
- `#1234567` -> `#123456` (`7` at the end is discarded)
2024-01-08 20:51:45 +01:00
Rémi Verschelde
129332e3b9
Merge pull request #82468 from kitbdev/tabcontainer-bottom
...
Option to put TabContainer tabs at bottom
2024-01-08 14:51:37 +01:00
Rémi Verschelde
df29fc91ed
Merge pull request #82669 from 4d49/graph-node-slot-custom-icon
...
Add `set_slot_custom_icon` and `get_slot_custom_icon` to GraphNode
2024-01-08 11:49:46 +01:00
Mansur Isaev
631d722674
Add `set_slot_custom_icon` and `get_slot_custom_icon` to GraphNode
2024-01-08 08:30:10 +01:00
kit
f6a212837b
TabContainer bottom position
2024-01-06 15:31:08 -05:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Rémi Verschelde
5eb22a317d
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
...
Add automatic translation of items to ItemList
2024-01-04 16:39:36 +01:00
Rémi Verschelde
8c48e99c17
Merge pull request #82894 from Quimisagi/label-align-values-discarded
...
Add compatibility rename of `(v)align` properties of `Label`
2024-01-04 16:39:04 +01:00
Rémi Verschelde
50a073cb0e
Merge pull request #86732 from TheSofox/line-edit-delete-fix
...
Make `LineEdit` scrolling show as much text as possible
2024-01-04 14:26:30 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde
eb830b3484
Merge pull request #72341 from aXu-AP/text_edit_carriage_return_selection
...
Show selected end of line in TextEdit
2024-01-04 14:24:30 +01:00
Sofox
8661667dde
Make LineEdit scrolling show as much text as possible
2024-01-04 04:13:35 +00:00
Rémi Verschelde
5042f543ab
Merge pull request #86460 from reach-satori/double_textchanged_emit
...
Fix double `text_changed` signal when overwriting selection in LineEdit
2024-01-03 15:47:03 +01:00
Rémi Verschelde
0c36bd791d
Merge pull request #82900 from bruvzg/macos_menu_global_shortcuts
...
[PopupMenu] Handle shortcuts with "global" flag directly.
2024-01-03 15:41:04 +01:00
Rémi Verschelde
4acfe4aa3c
Merge pull request #86729 from Mickeon/autocompletion-for-all
...
Fix missing autocompletion for inheriting classes
2024-01-03 10:14:37 +01:00
Rémi Verschelde
a6dc1b3907
Merge pull request #84527 from Calinou/colorpicker-display-revert-icon
...
Display a revert icon on ColorPicker's old sample
2024-01-03 09:59:06 +01:00
Micky
ca2f340384
Fix missing autocompletion for inheriting classes
2024-01-03 00:13:04 +01:00
bruvzg
15cdc52658
[PopupMenu] Handle physical_keycode and key_label of shortcuts.
2023-12-30 13:17:46 +02:00
Mateus Reis
cab48493d8
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
2023-12-24 14:23:01 +02:00
Haoyu Qiu
58db3e5d7b
Emit slider's drag_started signal before the first value change
2023-12-21 11:23:35 +08:00
Yuri Sizov
b8635157eb
Merge pull request #86218 from TheSofox/arrow-key-scene-tree-nav
...
Fix `Node` selection when navigating `Tree` with Arrow keys
2023-12-20 15:07:59 +01:00
Yuri Sizov
02bc2a37dd
Merge pull request #86118 from TheSofox/complex-undo-select-fix
...
Fix so undoing complex operations in `TextEdit` will restore selections
2023-12-20 15:07:52 +01:00
Yuri Sizov
40e7192393
Merge pull request #85191 from HolonProduction/off-by-one-code-edit
...
Fix updating delimiter cache of `CodeEdit` when typing on the first line
2023-12-20 15:07:44 +01:00
Yuri Sizov
3a44484ab8
Merge pull request #83623 from rarysson/label-progressbar-allow-greater
...
Make ProgressBar reflect the real value in the percent label when "allow greater" is checked
2023-12-20 15:07:30 +01:00