Commit graph

6004 commits

Author SHA1 Message Date
Thaddeus Crews
1c0bff54a1
Merge pull request #93792 from kitbdev/fix-center-viewport-horizontal
Fix center viewport not working horizontally
2025-01-27 09:46:18 -06:00
Thaddeus Crews
69c5b03070
Merge pull request #101625 from Rindbee/fix-follow-focus-in-rotated-ScrollContainer
Fix Follow Focus in a rotated `ScrollContainer`
2025-01-27 09:46:14 -06:00
Thaddeus Crews
ecbd90d022
Merge pull request #101825 from ryevdokimov/spin-box-drag-accept-event
Fix spinbox input events propagating during dragging, breaking focus
2025-01-27 09:46:11 -06:00
Pāvels Nadtočajevs
adceb32177 Fix FILE_MODE_OPEN_ANY file dialog not selecting folders. 2025-01-27 10:43:11 +02:00
kit
46fa85891b Fix center viewport not working horizontally 2025-01-25 17:53:53 -05:00
havi05
2c35077148 Itemlist - fix text_overrun_behavior 2025-01-24 23:48:38 +01:00
Thaddeus Crews
a5015ca8f6
Merge pull request #101957 from arkology/texture-progress-minimum-size
`TextureProgressBar` minimum size selection as maximum among all textures
2025-01-24 09:05:39 -06:00
arkology
046793b260 TextureProgressBar minimum size selection as maximum among all textures 2025-01-23 07:14:11 +00:00
Thaddeus Crews
53f3143028
Merge pull request #101923 from Giganzo/color-button-click
Fix ColorPicker Swatches button width
2025-01-22 16:32:25 -06:00
Thaddeus Crews
c032ce4050
Merge pull request #101613 from kitbdev/fix-te-hover-mouse-exit
Fix TextEdit breakpoint hover not hiding on mouse exit
2025-01-22 16:32:24 -06:00
Giganzo
a36f064204 Fix ColorPicker load/save swatches button interactions 2025-01-22 19:23:29 +01:00
Giganzo
660b5af677 Fix ColorPicker Swatches button width 2025-01-22 16:33:53 +01:00
Giganzo
e9b164adf7 Fix ColorPicker hide save/load swatches for pressets_visible 2025-01-22 15:36:45 +01:00
Thaddeus Crews
672fd7b0bb
Merge pull request #101842 from havi05/tree-fix-ui_select
Tree - fix `ui_select`
2025-01-21 11:55:28 -06:00
scgm0
25fd115957 Fix OptionButton::show_popup 2025-01-21 21:37:19 +08:00
Pāvels Nadtočajevs
a5e8c266af [RTL] Fix ready signal sent too early in single threaded RTL. 2025-01-21 08:37:08 +02:00
Thaddeus Crews
7ad545e091
Merge pull request #101160 from havi05/tree-fix-cursor-selection
Tree - fix cusor selection in `multi` selection-mode
2025-01-20 16:25:46 -06:00
Thaddeus Crews
47077529a8
Merge pull request #63059 from Rindbee/fix-getting-wrong-focus-neighbor-in-ScrollContainer
Fix getting wrong focus neighbor when the control is in ScrollContainer
2025-01-20 16:25:42 -06:00
havi05
522d6fed70 Tree - fix ui_select 2025-01-20 17:23:37 +01:00
Thaddeus Crews
ecc8d2812e
Merge pull request #101100 from WhalesState/color-picker-1
`ColorPicker` remove unused children and fix sample bugs.
2025-01-20 10:05:44 -06:00
Robert Yevdokimov
54bdc5fc82 Fix spinbox input events propagating during dragging, breaking focus 2025-01-20 14:56:23 +04:00
Janis Kirsteins
815e905972 Typo fix: rename SortableVisbilityMode 2025-01-19 00:33:39 +01:00
Pāvels Nadtočajevs
d98528ca3c Fix Label vertical line alignment. 2025-01-18 22:07:39 +02:00
Lars Pettersson
ff39adddd1
Prevent tooltip from showing when hovering past end of script line 2025-01-18 00:02:06 +01:00
WhalesState
6caadd57a9 ColorPicker remove unused children and fix sample bugs.
Remove an unused `VBoxContainer`.
Remove 3 unused children from grid (Label, Slider, SpinBox).
Ignore sample input when old color is not displayed.
Fix current color overbright position.
2025-01-17 18:12:36 +02:00
Thaddeus Crews
9bcf5ac9f7
Merge pull request #101560 from darksylinc/matias-union-order
Fix union order to simplify empty initializers
2025-01-16 17:17:53 -06:00
kit
8274e64402 Fix TextEdit breakpoint hover not hiding 2025-01-16 10:42:54 -05:00
Pāvels Nadtočajevs
7c54ad34ba [TextEdit] Fix viewport_to_caret using start of IME text instead of IME caret/selection. 2025-01-16 10:26:04 +02:00
风青山
b75acc3ccd
Fix Follow Focus in a rotated ScrollContainer
Calculate based on the `ScrollContainer`'s space to eliminate possible
rotation. The global rect already has applied the rotation, so it
should not be used.
2025-01-16 14:58:43 +08:00
Rindbee
e197463525
Fix getting wrong focus neighbor when the control is in ScrollContainer
Exclude controls inside a `ScrollContainer` that are outside the visible area of ​​
the `ScrollContainer` when looking for focus neighbors.
2025-01-16 07:55:56 +08:00
Matias N. Goldberg
7b2f1e1d09 Fix union order to simplify empty initializers
This is a followup to PR #101344 (commit
0e06eb80bc).

Some of them were not an issue because Godot was initializing all
members, but they were "fixed" just in case since it could become a
problem in the future.

Valgrind was specifically complaining about HashMapData &
GlobalPipelineData.
2025-01-14 19:05:01 -03:00
Michael Alexsander
e33a95f6ab
Always pick widest style as min width between unselected and hovered in TabBar 2025-01-14 12:16:44 -03:00
Rémi Verschelde
1ca03add30 Merge pull request #101532 from bruvzg/rtl_fix_fx_offset
[RTL] Fix character effect offset.
2025-01-14 12:09:23 +01:00
Rémi Verschelde
3aa5b0048f Merge pull request #101513 from bruvzg/legacy_picker_fix
Fix legacy color picker crash.
2025-01-14 12:09:09 +01:00
Pāvels Nadtočajevs
88a719f291 [RTL] Fix character effect offset. 2025-01-14 11:56:24 +02:00
Pāvels Nadtočajevs
730495c215 Fix legacy color picker crash. 2025-01-14 08:25:18 +02:00
Rémi Verschelde
f8dc6a0afe Merge pull request #101482 from bruvzg/rtl_expand_control
[RTL] Add cell option to control if cell is shrinked to its contents width.
2025-01-14 00:22:18 +01:00
Rémi Verschelde
2850b7113c Merge pull request #100860 from larspet/spin-box-focus-exited
Allow overriding SpinBox value on `focus_exited`
2025-01-14 00:22:03 +01:00
Pāvels Nadtočajevs
b983b9d9f4 [RTL] Add cell option to control if cell is shrinked to its contents width. 2025-01-13 21:44:06 +02:00
Rémi Verschelde
2c521ea57d Merge pull request #101481 from bruvzg/rtl_fade
[RTL] Fix "fade" effect char index calculations.
2025-01-13 20:22:37 +01:00
Rémi Verschelde
20c09d2c94 Merge pull request #100697 from arkology/texture-progress-radial-stretching
Tweak `TextureProgressBar` `NOTIFICATION_DRAW` to support 9-patch stretch in radial modes
2025-01-13 20:21:48 +01:00
Rémi Verschelde
737407033f Merge pull request #85799 from HolonProduction/select-by-word
Allow dragging selection when selecting whole words in `RichTextLabel`
2025-01-13 20:21:23 +01:00
HolonProduction
617e3456fd Allow dragging selection when selecting whole words in RichTextLabel 2025-01-13 09:56:09 +01:00
Pāvels Nadtočajevs
c5dc6e1c6d [RTL] Fix "fade" effect char index calculations. 2025-01-13 08:11:59 +02:00
arkology
c46c3ddf37 Tweak TextureProgressBar NOTIFICATION_DRAW to support 9-patch stretch in radial modes
1) Code is splitted into 3 sections:
- draw `under` texture;
- draw `progress` texture + draw radial modes reference cross;
- draw `over` texture.
Each draw texture section handles nine-patch stretching. Except for the progress texture in radial modes, which does not support nine-patch stretching.
2) The reference cross position now is not misaligned to real center position (`floor()` call removed).
3) The reference cross drawing code is additionally surrounded by `TOOLS_ENABLED` check.
2025-01-12 21:41:54 +03:00
Rémi Verschelde
3a8fe456a5 Merge pull request #101383 from WhalesState/color-picker-wheel
Add `ColorPicker` cursor background and reuse the cursor for wheel.
2025-01-11 22:30:00 +01:00
Rémi Verschelde
33fb876ebb Merge pull request #101321 from YeldhamDev/project_manager_warn_silence
Change print warnings to config ones for popups that need transparency
2025-01-11 22:29:48 +01:00
Rémi Verschelde
867425fd62 Merge pull request #101021 from bruvzg/empick
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 23:06:03 +01:00
Rémi Verschelde
4dbcced69a Merge pull request #100714 from hpvb/fix-100663
Handle changing ItemLists from signals
2025-01-10 23:05:51 +01:00
havi05
a9af65d368 Add HScrollbar to ItemList 2025-01-10 14:59:12 +01:00