Commit graph

5191 commits

Author SHA1 Message Date
Rémi Verschelde
43a8351263
Merge pull request #87943 from 0x0ACB/tree_recursion
Only recurse depth wise in `Tree::_count_selected_items`
2024-02-05 14:53:46 +01:00
Rémi Verschelde
c23cc08b1c
Merge pull request #87880 from kitbdev/fix-textedit-freeze
Fix freeze in TextEdit with `scroll_past_end_of_file` and `fit_content_height`
2024-02-05 14:50:33 +01:00
ACB
43038bbfcb Only recurse depth wise in Tree::_count_selected_items 2024-02-04 14:21:03 +01:00
kit
8ddd27ce1e Fix freeze in TextEdit with scroll_past_end_of_file and fit_content_height 2024-02-02 16:45:06 -05:00
Rémi Verschelde
88df5b871f
Merge pull request #87318 from ckaiser/feature/indeterminate_progressbar
Add indeterminate mode to ProgressBar
2024-02-02 12:02:19 +01:00
Rémi Verschelde
58ffe0958a
Merge pull request #74195 from TheSecondReal0/flow-top-to-bottom
Add option to reverse FlowContainer fill direction (HFlow bottom-to-top, VFlow right-to-left)
2024-02-02 12:00:07 +01:00
TheSecondReal0
b8a7270567 Add option to reverse FlowContainer fill direction (HFlow bottom-to-top, VFlow right-to-left) 2024-02-01 10:41:31 -07:00
Christian Kaiser
c00bd0008a Add indeterminate mode to ProgressBar 2024-01-31 18:11:18 -03:00
Rémi Verschelde
f390b86acd
Merge pull request #87194 from kitbdev/tab-deselect
Allow no tabs to be selected in TabBar and TabContainer
2024-01-30 17:47:54 +01:00
Rémi Verschelde
6c2f412cc7
Merge pull request #84760 from KoBeWi/ultimate_get_property_list_reloaded
Fetch override list from ThemeDB
2024-01-29 21:32:10 +01:00
kit
6e965f6c83 Allow tab deselection 2024-01-29 14:30:34 -05:00
kobewi
7d6ded2027 Fetch override list from ThemeDB 2024-01-29 16:41:57 +01:00
Rémi Verschelde
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +01:00
A Thousand Ships
15369fdb1d
Remove unnecessary this-> expressions 2024-01-29 09:59:18 +01:00
radzo73
de5b0d7103 Add get_button_color(column, id)
Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
2024-01-28 19:09:20 -05:00
Rémi Verschelde
0f6e68a44d
Merge pull request #87587 from bruvzg/rtl_image_update_connect
[RTL] Connect image update signals.
2024-01-26 11:49:29 +01:00
Rémi Verschelde
d3dfcc5977
Merge pull request #87555 from EIREXE/video_player_unfunny
Replace internal usage of ImageTexture in VideoStreamPlayer for Texture2D
2024-01-26 11:48:42 +01:00
Rémi Verschelde
23275074cb
Merge pull request #86304 from OverloadedOrama/fix-menubar-scaling
Fix `MenuBar` and `MenuButton` hover position scaling properly with the scale factor multiplier
2024-01-26 11:42:59 +01:00
bruvzg
6d17fc1f73
[RTL] Connect image update signals. 2024-01-26 12:18:24 +02:00
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
Álex Román Núñez
c892582779 Replace internal usage of ImageTexture in VideoStreamPlayer for Texture2D 2024-01-24 23:44:46 +01:00
Emmanouil Papadeas
e864b26e54 Fix MenuBar hover position scaling properly with the scale factor multiplier 2024-01-24 15:22:16 +02: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