kobewi
fdc79f5286
Remaining FileDialog changes before unification
2025-10-02 19:13:04 +02:00
Mounir Tohami
2421dfaab3
Group virtual keyboard properties in the inspector
2025-10-02 14:15:10 +03:00
Thaddeus Crews
caefb0f1c1
Merge pull request #110527 from WhalesState/text-edit-styles
...
Fix TextEdit `read_only` drawing.
2025-10-01 13:12:47 -05:00
Thaddeus Crews
45dfd4dd23
Merge pull request #108147 from KoBeWi/set_get_is_back
...
Expose FileDialog callbacks for getting custom icons
2025-10-01 13:12:42 -05:00
Thaddeus Crews
486626413b
Merge pull request #110444 from bruvzg/rtl_bb_sp
...
[RTL] Fix `outline_size=0` and `font`/`otf` tags with invalid arguments breaking tag stack and spamming errors.
2025-10-01 13:12:39 -05:00
Thaddeus Crews
6b9acd7e9e
Merge pull request #110055 from dagarsar/tree-rtl
...
Add helper methods to convert right-to-left `Rect2i` and `Point2i` in `Tree`'s `draw_item`
2025-10-01 13:12:34 -05:00
Thaddeus Crews
7eaf1ee62d
Merge pull request #110278 from KoBeWi/controledraw
...
Redraw shape controls when ColorPicker theme changes
2025-10-01 13:12:33 -05:00
Thaddeus Crews
42263551b5
Merge pull request #110212 from Giganzo/spin-box-held-down
...
Fix SpinBox value change when held down on separation between buttons
2025-10-01 13:12:31 -05:00
kobewi
f88b51995b
Expose FileDialog callbacks for getting custom icons
2025-10-01 12:08:34 +02:00
Pāvels Nadtočajevs
61003f18ab
[Label] Add MSDF pixel range/outline configuration warning.
2025-10-01 12:31:08 +03:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
131d6b14a2
Merge pull request #110894 from Giganzo/spinbox-focus-state
...
Fix SpinBox stepper grabbing focus state on mouse input
2025-09-30 20:10:39 -05:00
Thaddeus Crews
1889f68007
Merge pull request #110886 from fstxz/fix-line-edit-double-click
...
Fix LineEdit's placeholder text being selected when double clicking
2025-09-30 20:10:35 -05:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
Thaddeus Crews
4d231b5bf8
Merge pull request #108146 from KoBeWi/singleton_favrec
...
Expose methods to access FileDialog's favorite/recent lists
2025-09-30 18:35:26 -05:00
Thaddeus Crews
b9010edcfa
Merge pull request #110951 from aaronfranke/const-arr-ref-text-bidi
...
Use const Array ref in `set_structured_text_bidi_override_options`
2025-09-30 18:35:20 -05:00
Thaddeus Crews
45d064c388
Merge pull request #109590 from bruvzg/focus_checks
...
`find_*_valid_focus`: Check all tested neighbors to prevent loops.
2025-09-30 18:35:00 -05:00
kobewi
3615b188d7
Expose methods to access FileDialog's favorite/recent lists
2025-09-30 22:46:09 +02:00
Thaddeus Crews
21fd4faf1b
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
...
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
kobewi
618afcffa6
Add pivot_offset_ratio property to Control
2025-09-30 15:27:52 +02:00
Pāvels Nadtočajevs
9a1fbff651
[RTL] Fix `outline_size=0` and `font`/`otf` tags with invalid arguments breaking tag stack and spamming errors.
2025-09-27 20:42:05 +03:00
Aaron Franke
1a7be001d2
Use const Array ref in `set_structured_text_bidi_override_options`
2025-09-26 14:31:38 -07:00
kobewi
e68b171aaa
Fix Script editor state types
2025-09-26 21:38:12 +02:00
Michael Alexsander
26745b4b87
Unfold tree items on hover while drag-n-dropping
...
Co-authored-by: suddjian
2025-09-26 14:38:45 -03:00
danielgsilva
bc9c14da7a
Add helper methods and simplify logic
2025-09-25 13:41:15 +01:00
Artemy Fedotov
40d56c98bc
Fix LineEdit's placeholder text being selected when double clicking
2025-09-25 12:05:48 +04:00
Edward Moulsdale
e366471fdc
Add GDSOFTCLASS to deeper inheritors of Object
2025-09-24 19:15:56 +01:00
Mounir Tohami
c07966583f
Fix editor theme margins and TextEdit normal/read_only styles draw.
2025-09-24 20:42:22 +03:00
Thaddeus Crews
6f57447710
Merge pull request #109943 from kevinlam508/proper-tree-size-without-scrollbars
...
Fix tree to update size with scrollbars disabled
2025-09-24 09:59:13 -05:00
Thaddeus Crews
5db618a2db
Merge pull request #109078 from WhalesState/text-edit-clipping
...
Fix TextEdit clips children and focus style.
2025-09-24 09:59:12 -05:00
Giganzo
e90a337fa3
Fix SpinBox stepper grabbing focus state on mouse input
2025-09-24 16:51:59 +02:00
danielgsilva
1a77567029
Add method to check if any cell is selected and fix relationship line conditional
2025-09-24 13:44:57 +01:00
kobewi
a57fef9558
Remove overrun code duplication
2025-09-23 16:08:46 +02:00
Thaddeus Crews
7521044465
Merge pull request #110750 from timothyqiu/color-picker-add
...
ColorPicker: Fix preset button order after calling `add_preset()`
2025-09-22 21:01:01 -05:00
Thaddeus Crews
2d94ad1f3a
Merge pull request #93389 from KoBeWi/MASSIVE_copy_paste
...
Remove code duplication in Button
2025-09-22 13:28:47 -05:00
Thaddeus Crews
035f5d3055
Merge pull request #110763 from Ivorforce/object-derives-from
...
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05:00
Thaddeus Crews
be421bcdd4
Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
...
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Thaddeus Crews
ba0da90ba6
Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
...
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews
c852872cb2
Merge pull request #108804 from bruvzg/mac_bundle_icon
...
[macOS] Use "file" icon for bundles in the file dialogs.
2025-09-22 08:50:02 -05:00
Lukas Tenbrink
96619d46a1
Use `AncestralClass` to speed up Object::cast_to when possible.
2025-09-22 13:21:51 +02:00
Haoyu Qiu
172c80df67
Make text-related nodes translation domain aware
...
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
Haoyu Qiu
52df1aeb59
ColorPicker: Fix preset button order after calling `add_preset`
2025-09-21 22:17:38 +08:00
Mounir Tohami
b25e35cf58
Fix TextEdit styles and disable clipping.
...
Co-Authored-By: kit <kitbdev@gmail.com>
2025-09-21 07:32:30 +03:00
kobewi
98a4b46b6a
Add more PROPERTY_HINT_GROUP_ENABLE uses
2025-09-20 21:11:12 +02:00
Thaddeus Crews
149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
...
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Thaddeus Crews
74e869c777
Merge pull request #109981 from bruvzg/clamp_menui_h
...
Clamp menus at the bottom of the screen.
2025-09-19 20:54:33 -05:00
Thaddeus Crews
72785c54ed
Merge pull request #110012 from dagarsar/tree-const-arg
...
Reinstate `const` parameter in `Tree`'s `draw_item_rect`
2025-09-19 20:54:31 -05:00
Thaddeus Crews
647546bcac
Merge pull request #110089 from dagarsar/tree-margin-1
...
Fix `Tree` relationship lines do not apply `h_separation` and `item_margin` correctly
2025-09-19 20:54:27 -05:00
Thaddeus Crews
90b771ce3a
Merge pull request #109512 from precup/speedy-big-trees
...
Speed up very large `Trees`
2025-09-19 20:54:14 -05:00
kobewi
e3ce74dc7e
Remove code duplication in Button
2025-09-19 20:34:41 +02:00
Michael Alexsander
aeb3a45c97
Hide `Control` focus when given via mouse input
2025-09-19 13:43:29 -03:00
Thaddeus Crews
f27f917d32
Merge pull request #107955 from lodetrick/mouse-signals
...
Fix `mouse_entered` and `mouse_exited` Signals being emitted too early
2025-09-19 09:17:04 -05:00
Thaddeus Crews
2c1ad5b07a
Merge pull request #109031 from bruvzg/tab_spacing
...
Include `SPACING_SPACE` in tab stops calculation.
2025-09-19 09:17:00 -05:00
Pablo Andres Fuente
2ef3ebf934
Fix `ColorPickerButton` close popup on mouse click
...
Fixes #91813
2025-09-18 08:52:30 -03:00
kobewi
43fa18c3e6
Fix color picker shape minimum size
2025-09-17 21:33:38 +02:00
Lukas Tenbrink
abe3b481ae
Make conversions from `LocalVector` to `Vector` explicit.
2025-09-16 21:41:28 +02:00
Mounir Tohami
b22e266d71
Allow all ColorPicker Shapes to expand horizontally
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-09-16 21:35:46 +03:00
Thaddeus Crews
ebb51d1f7d
Merge pull request #109363 from Giganzo/line_edit_rtl_icon
...
Fix LineEdit icon positon in right-to-left layout
2025-09-16 09:48:58 -05:00
kobewi
502f49d7f9
Redraw shape controls when ColorPicker theme changes
2025-09-05 18:04:38 +02:00
Giganzo
c6be28af7a
Fix SpinBox value change when held down on separation between buttons
2025-09-02 23:15:56 +02:00
Clay John
fcd1cf8d57
Merge pull request #110191 from bruvzg/tx_upd_or
...
[TextEdit] Fix text edit font update order.
2025-09-02 07:24:02 -07:00
Pāvels Nadtočajevs
7368d148c1
[TextEdit] Fix text edit font update order.
2025-09-02 08:51:18 +03:00
Thaddeus Crews
89f32c6ead
Merge pull request #110107 from aaronfranke/fix-range-overflow
...
Fix Range scale overflow
2025-09-01 12:25:47 -05:00
Thaddeus Crews
8ccb7ba2ec
Merge pull request #90832 from YeldhamDev/just_ignore_the_margin_bro
...
Fix incorrect submenu icon and accelerator text positions involving margins
2025-09-01 12:25:44 -05:00
Mounir Tohami
5412885a7a
Fix ColorPicker after adding intensity sliders.
2025-09-01 13:06:44 +03:00
Mike Precup
67723a9572
Speed up very large Trees
2025-08-31 13:38:43 -07:00
Aaron Franke
efb580e9e5
Fix Range scale overflow
2025-08-29 20:43:51 -07:00
danielgsilva
bf7422e2c7
Take into account parent and child folding status when drawing relatioship lines
2025-08-29 14:03:39 +01:00
Pāvels Nadtočajevs
02adbc47ba
Do not set flags when `PopupMenu::set_visible` is called to hide popup.
2025-08-28 13:16:16 +03:00
Thaddeus Crews
9c5cb0d38f
Merge pull request #109927 from deralmas/no-reason-to-hide
...
Popup: Reset state on visibility change
2025-08-27 13:39:40 -05:00
Pāvels Nadtočajevs
90370a08ec
Clamp menus at the bottom of the screen.
2025-08-27 15:29:50 +03:00
danielgsilva
611fc62fe4
Reinstate const parameter in draw_item_rect
2025-08-27 10:27:15 +01:00
Kevin Lam
4c9bd858c7
Fix tree to update size with scrollbars disabled
...
When scrollbars are disabled, tree size is dependant on item sizes, so this adds missing checks for when to resize. The side effect of the bug was that scrollbars could incorrectly appear when items change at runtime.
2025-08-24 20:00:48 -05:00
Aaron Franke
0ad409bcd6
Rescale values to better utilize R128 range before snapping
2025-08-24 09:45:14 -07:00
Dery Almas
31f7d68ef4
Popup: Reset state on visibility change
...
The original logic was never called for certain platforms, leaving the
hide reason unset and causing weird semi-random issues with the few
users of that internal API, such as when renaming nodes in the scene
tree editor.
2025-08-24 10:37:12 +02:00
kobewi
e85e8da55d
Enable input when ColorPicker popup exits tree
2025-08-21 13:54:17 +02:00
aaronp64
019f4ab403
Update TextEdit to use center alignment for inline objects
...
Updated to use center alignment instead of top to avoid shifting the line of text up when adding an object.
2025-08-20 17:19:58 -04:00
Thaddeus Crews
86bb48ab83
Merge pull request #109755 from Giganzo/option-button-icon-clear
...
Fix OptionButton not removing icon when using clear
2025-08-19 10:29:43 -05:00
Giganzo
5c59a75923
Fix OptionButton not removing icon when using clear
2025-08-19 10:55:42 +02:00
Thaddeus Crews
40c96b8433
Merge pull request #109046 from bruvzg/ac_win_x
...
[Accessibility] Process non-focusable windows (popups, menus) as part of the parent window tree.
2025-08-18 08:29:12 -05:00
Thaddeus Crews
039a480ff7
Merge pull request #109708 from Giganzo/popup-menu-accel
...
Fix PopupMenu accel position
2025-08-18 08:29:09 -05:00
Thaddeus Crews
9812d405b8
Merge pull request #109354 from KoBeWi/ETRC
...
Fix some localization issues in controls
2025-08-18 08:29:09 -05:00
Thaddeus Crews
589e7579da
Merge pull request #109541 from bruvzg/le_dblclick
...
[LineEdit] Fix double click not selecting single character words.
2025-08-18 08:29:06 -05:00
Giganzo
cadfd52b16
Fix PopupMenu accel position
2025-08-17 22:55:37 +02:00
Pāvels Nadtočajevs
0bd9437237
[RTL] Fix text around `visible_characters` boundary being added twice to the buffer.
2025-08-17 18:45:25 +03:00
Pāvels Nadtočajevs
7b47f5e8db
[Accessibility] Process non-focusable windows (popups, menus) as part of the parent window tree.
2025-08-17 12:15:08 +03:00
Thaddeus Crews
90ba13bd0b
Merge pull request #109528 from syntaxerror247/drive-selection-issue
...
Fix drive selection issue on Android
2025-08-13 18:42:13 -05:00
Pāvels Nadtočajevs
f260c5db8a
`find_*_valid_focus`: Check all tested neighbors to prevent loops.
2025-08-13 23:59:01 +03:00
Pāvels Nadtočajevs
67f80aaa23
[LineEdit] Fix double click not selecting single character words.
2025-08-13 10:42:46 +03:00
Thaddeus Crews
cc9fcbeb1b
Merge pull request #109100 from aaronfranke/range-snap
...
Fix snapping logic in Range
2025-08-12 11:46:36 -05:00
Pāvels Nadtočajevs
10fd7163d4
Add methods to check which event first triggered "just pressed/released" state.
2025-08-12 16:25:23 +03:00
Aaron Franke
af8bdac5a9
Use r128.h for high precision snapping
2025-08-12 04:11:33 -07:00
Aaron Franke
eee7ce635b
Fix snapping logic in Range
2025-08-12 03:32:27 -07:00
Anish Mishra
5bcf9a5a57
Fix drive selection issue on Android
2025-08-11 21:47:00 +05:30
Thaddeus Crews
6807ec688d
Merge pull request #109441 from aaronp64/rtl_table_search
...
Fix issues searching `RichTextLabel` when search result is in a table
2025-08-11 09:55:19 -05:00
aaronp64
f0eddb8e6f
Fix issues searching RichTextLabel when search result is in a table
...
Fixes for cases where search results would be skipped or repeatedly found involving tables in RichTextLabel:
- If previous result was found in last cell of table, earlier cells would be skipped, since the end of the table was reached. Updated to not skip earlier cells when searching in reverse.
- When choosing next line to continue from after searching table, the inner line number within the table's cell was added, causing the search to jump forward if not on line 0 in the cell. This could cause lines to get skipped when searching forward, or searching the table again when searching in reverse. Updated to continue from the immediate next line before/after the table.
- If a table cell has multiple lines, repeated searching would only include the line where the previous result was found, then jump to the next cell. Updated to search remaining lines in the same cell first.
2025-08-08 15:28:53 -04:00
Pāvels Nadtočajevs
d13b5361b4
[TextServer] Fix caret hit test rounding.
2025-08-08 11:06:07 +03:00
Mansur Isaev
4066281bab
Add metadata for slots in `GraphNode`
2025-08-08 07:36:26 +04:00
Summersay415
bf5fada0b1
Revert "Fix incorrect anchor preset when custom offset is set"
2025-08-07 12:55:59 +07:00
Giganzo
fbf27dbfc6
Fix LineEdit icon positon in right-to-left layout
2025-08-06 21:55:37 +02:00
Thaddeus Crews
a08ebf9c2d
Merge pull request #109329 from Giganzo/line_edit_center
...
Fix LineEdit center alignment
2025-08-06 12:01:15 -05:00
kobewi
4ed86d347c
Fix some localization issues in controls
2025-08-06 14:50:03 +02:00
Giganzo
e3232b226d
Fix LineEdit center alignment
2025-08-05 10:05:45 +02:00
Pāvels Nadtočajevs
610c98c1ce
Add `SVGTexture`support to `NinePatchRect`, `TextureProgressBar` and `StyleBoxTexture`.
2025-08-04 08:57:30 +03:00
Thaddeus Crews
202477457d
Merge pull request #108996 from gtibo/graphnode-selection-fix
...
Update GraphNode selection logic if not visible
2025-08-01 11:45:14 -05:00
Tibo
2aa76439ce
Update GraphNode selection logic if not visible
2025-07-31 18:38:03 +02:00
Thaddeus Crews
eee305b9bd
Merge pull request #108921 from Giganzo/button-disabled
...
Fix button down signal not emitting on first press after being disabled
2025-07-31 10:39:10 -05:00
Thaddeus Crews
f9313aa27b
Merge pull request #108924 from bruvzg/ac17
...
Update access-kit to 0.17.0
2025-07-31 10:39:09 -05:00
Giganzo
63409a91e0
Fix button down signal not emitting on first press after being disabled
2025-07-30 16:23:42 +02:00
Thaddeus Crews
da3f2a9cf5
Merge pull request #108911 from DanielSnd/fix-richtextlabel-nested-table-sizing
...
Fix RichTextLabel nested tables not sizing properly.
2025-07-30 09:03:50 -05:00
Thaddeus Crews
f74b6392d9
Merge pull request #108328 from beicause/fix-color-picker-linear-sliders-color
...
Fix ColorPicker linear mode sliders color
2025-07-30 09:03:44 -05:00
Thaddeus Crews
5f6849534a
Merge pull request #108959 from bruvzg/empty_lines
...
Fix font fallback for lines with only non-visual/control characters.
2025-07-30 09:03:43 -05:00
Hei
1acfbba46a
Avoid color conversion roundtrip in colorpicker
2025-07-29 12:44:08 +03:00
Pāvels Nadtočajevs
3f757c41fc
Update access-kit to 0.17.0
2025-07-29 08:37:01 +03:00
Pāvels Nadtočajevs
2409956297
Include `SPACING_SPACE` into tab stops calculation.
2025-07-27 21:26:36 +03:00
passivestar
fed6b0dfe5
Fix Tree cell text vertical alignment
2025-07-26 16:32:01 +04:00
Pāvels Nadtočajevs
6c34f48c90
Fix font fallback for lines with only non-visual/control characters.
2025-07-25 08:27:30 +03:00
Thaddeus Crews
ad4e7a065a
Merge pull request #108820 from bruvzg/menu_arr_nav
...
Fix menu keyboard and controller navigation.
2025-07-24 14:23:46 -05:00
DanielSnd
c424d85a73
Fix RichTextLabel nested tables not sizing properly.
2025-07-24 08:54:58 -03:00
kit
addae393a4
Fix TextEdit line wrap indent when disabled
2025-07-22 22:29:05 -04:00
Thaddeus Crews
9bb9a95f74
Merge pull request #108724 from KoBeWi/downtown_deprecation
...
Deprecate updown icon
2025-07-22 11:20:08 -05:00
Pāvels Nadtočajevs
2111ff0e2a
Fix menu keyboard and controller navigation.
2025-07-21 10:03:07 +03:00
Pāvels Nadtočajevs
37ae7d4420
[macOS] Use "file" icon for bundles in the file dialogs.
2025-07-20 20:44:33 +03:00
kobewi
917f8b1ba8
Deprecate updown icon
2025-07-19 23:23:55 +02:00
Thaddeus Crews
728a8f7ccf
Merge pull request #108718 from Koyper/split_container_touch_dragger_theme_colors
...
[SplitContainer] Fix inability to override touch dragger icon and add theme colors to touch dragger
2025-07-18 11:05:13 -05:00
Thaddeus Crews
1f9dc89ef4
Merge pull request #108706 from KoBeWi/excellent_code_quality
...
Fix inconsistent column in Tree click detection
2025-07-18 11:05:07 -05:00
Koyper
21144401c3
Add theme colors to touch dragger and fix touch dragger icon theme
2025-07-17 13:05:47 -05:00
Thaddeus Crews
8702b38c7f
Merge pull request #108196 from beicause/spinbox-custom-arrow-step-snap
...
SpinBox: Fix `custom_arrow_step` by snapping it to `step`
2025-07-17 10:34:43 -05:00
kobewi
1f4044c0f1
Fix inconsistent column in Tree click detection
2025-07-17 14:29:44 +02:00
Thaddeus Crews
7c472e655f
Merge pull request #108638 from Ivorforce/range-float
...
Use `double` consistently in `Range::get_as_ratio`.
2025-07-15 16:58:38 -05:00
Lukas Tenbrink
37e0c9b5c4
Use `double` consistently in `Range::get_as_ratio`.
2025-07-15 16:39:24 +02:00
Thaddeus Crews
281ce842fd
Merge pull request #108442 from limuy2022/master
...
Fix incorrect anchor preset when custom offset is set
2025-07-15 08:04:26 -05:00
Thaddeus Crews
897d41ca9d
Merge pull request #108597 from bruvzg/rtl_pad_cell
...
[RTL] Fix text selection offset in padded cells.
2025-07-15 08:04:26 -05:00
Thaddeus Crews
7498243618
Merge pull request #108599 from bruvzg/te_guideline_order
...
[TextEdit] Draw guidelines under the text and caret.
2025-07-14 10:30:37 -05:00
Pāvels Nadtočajevs
8624134c89
[TextEdit] Draw guidelines under the text and caret.
2025-07-14 16:31:35 +03:00
Pāvels Nadtočajevs
2a5833148d
[RTL] Fix text selection offset in padded cells.
2025-07-14 10:43:48 +03:00
Logan Detrick
88280a6b2a
Fix TabBar minimum size with clip_tabs on
2025-07-13 16:40:22 -07:00
Thaddeus Crews
0fba00794a
Merge pull request #103155 from Giganzo/popup-menu-shadow
...
Fix PopupMenu clickable area with shadows
2025-07-10 11:39:33 -05:00
Thaddeus Crews
d36f394714
Merge pull request #108399 from bruvzg/rtl_vflscr
...
[RTL] Add option to scroll follow visible characters.
2025-07-10 11:39:31 -05:00
Thaddeus Crews
c83ccae9bf
Merge pull request #108469 from bruvzg/rtl_emb_click
...
[RTL] Fix padding and alignment of embedded image clicks.
2025-07-10 11:39:29 -05:00
Thaddeus Crews
c2ddb04713
Merge pull request #108466 from bruvzg/rtl_vis_rect
...
[RTL] Add method to get visible content bounding box.
2025-07-10 11:39:28 -05:00
Pāvels Nadtočajevs
45a564f4f8
[RTL] Add option to scroll follow visible characters.
2025-07-10 17:30:09 +03:00
Pāvels Nadtočajevs
406a22d0da
[RTL] Add method to get visible content bounding box.
2025-07-10 15:49:35 +03:00
Pāvels Nadtočajevs
17e050c64f
[RTL] Fix padding and alignment of embedded image clicks.
2025-07-10 15:12:10 +03:00
limuy
21b1530cd4
Fix incorrect anchor preset when custom offset is set
2025-07-10 19:19:05 +08:00
kit
927208a92e
Fix ScriptEditor line number in color objects
2025-07-09 16:18:57 -04:00
Thaddeus Crews
02540477fd
Merge pull request #108401 from DanielGSilva/tree-guides
...
Draw guide lines over selection and focus styleboxes
2025-07-09 11:33:17 -05:00
Thaddeus Crews
e748514112
Merge pull request #105835 from bruvzg/edited_scene_direction
...
Improve edited scene layout direction detection.
2025-07-09 11:33:11 -05:00
Mikael Hermansson
3528e83ff3
Various fixes and style nitpicks
2025-07-09 14:27:48 +02:00
Giganzo
6ac24d232b
Fix PopupMenu clickable area with shadows
2025-07-09 07:20:43 +02:00
Aleksander Litynski
78f1543e35
Add an ObjectDB Profiling Tool
...
A new tab is added to the debugger that can help profile a game's memory usage.
Specifically, this lets you save a snapshot of all the objects in a running
game's ObjectDB to disk. It then lets you view the snapshot and diff two
snapshots against each other. This is meant to work similarly to Chrome's
heap snapshot tool or Unity's memory profiler.
2025-07-08 16:39:24 +02:00
danielgsilva
3b17450261
Draw guide lines over selection and focus styleboxes
2025-07-08 11:30:40 +01:00
Thaddeus Crews
4d1f26e1fd
Merge pull request #108255 from thygrrr/tab-container-deselect-enable-fix
...
Fix: TabBar/TabContainer can't start with all tabs deselected
2025-07-07 10:08:04 -05:00
Tiger Jove
c6c7b508b6
TabBar current tab now stays -1 when adding first tab on deselect_enable
2025-07-07 10:18:49 +02:00
LuoZhihao
453f4f13e4
SpinBox: Fix `custom_arrow_step` by snapping it to `step`
2025-07-06 18:12:37 +08:00
LuoZhihao
2fdf3e2711
Fix ColorPicker linear mode sliders color
2025-07-06 13:12:19 +08:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews
a39a83a990
Merge pull request #106526 from roughbits01/line-edit-select-all-web
...
[Web] Fix `LineEdit` `select_all_on_focus` behavior when using a virtual keyboard
2025-06-27 09:39:58 -05:00
Thaddeus Crews
db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
...
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Logan Detrick
c03a7b7893
Delay Mouse signals until after internal processing
2025-06-24 14:29:17 -07:00
Thaddeus Crews
cbdeaee93a
Merge pull request #107333 from Jordyfel/itemlist-text-drawing
...
ItemList: Fix text drawing not taking `h_separation` into account in top mode.
2025-06-24 09:58:45 -05:00
Pāvels Nadtočajevs
a272376f89
Cleanup accessibility names.
2025-06-23 11:08:36 +03:00
lawnjelly
14a814586a
Provide quick access to `Object` ancestry
2025-06-23 07:11:11 +01:00
Pāvels Nadtočajevs
71834ebbdd
[GraphNode] Fix slot focus rect draw, make slot focus mode configurable.
2025-06-22 15:07:11 +03:00
BrotherShort
842b534bee
Fix rename autoloads
2025-06-22 12:59:48 +08:00
Thaddeus Crews
353bd80c91
Merge pull request #107581 from timothyqiu/window-title-update
...
Fix game view window not updating title when translation changes
2025-06-18 18:13:50 -05:00
Thaddeus Crews
4734639630
Merge pull request #107578 from timothyqiu/mini-bar
...
Fix some menu bar items unresponsive after language change
2025-06-18 18:13:48 -05:00
Thaddeus Crews
e02207de62
Merge pull request #107560 from bruvzg/fnat_scale
...
Fix scale and position of popups with `force_native`.
2025-06-18 18:13:44 -05:00
Thaddeus Crews
d4fa7e15ed
Merge pull request #106919 from kitbdev/fix-codeedit-hover-word-lookup
...
Fix CodeEdit hover word lookup
2025-06-18 18:13:43 -05:00
Thaddeus Crews
141508a3fe
Merge pull request #107302 from beicause/spinbox-fix-decimal-step-using-arrow
...
Spinbox: Fix incorrect step and decimal text when using custom arrow step
2025-06-18 18:13:42 -05:00
Thaddeus Crews
2fc899e4dd
Merge pull request #98566 from Geometror/vs-refactor-p1
...
Fix and improve editor state persistence for the VisualShader editor
2025-06-18 18:13:23 -05:00
Haoyu Qiu
a7ab249a2a
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-16 20:03:49 +08:00
Pāvels Nadtočajevs
34a97f9c9b
Fix scale and position of popups with `force_native`.
2025-06-16 13:03:42 +03:00
Haoyu Qiu
51e8b5947f
Fix some menu bar items unresponsive after language change
2025-06-16 09:35:37 +08:00
Haoyu Qiu
0a1fa10315
Fix game view window not updating title when translation changes
2025-06-16 09:35:25 +08:00
Micky
76a7c31a5d
Rename TreeItem's `alt_text` to `description` for consistency
...
...with Accessibility API
2025-06-14 19:56:30 +02:00
Hendrik Brucker
b55b9fe352
[GraphEdit] Improve UI control scheme by separating scroll_offset from scroll bars
2025-06-14 13:10:17 +02:00
Rémi Verschelde
95e72a36f3
Merge pull request #107347 from bruvzg/hr_hr_hr
...
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support.
2025-06-13 01:30:47 +02:00
Rémi Verschelde
22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
...
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde
ae484828bb
Merge pull request #107408 from Ivorforce/node-path-string-explicit
...
Make conversions from `NodePath` to `String` explicit.
2025-06-12 22:49:03 +02:00
Rémi Verschelde
1a64b6b5b6
Merge pull request #106913 from Ivorforce/string-resize-uninitialized
...
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +02:00
Rémi Verschelde
c3ce623b54
Merge pull request #107413 from roughbits01/fix-ime-window-position
...
Fix IME window position not taking into account window transform
2025-06-12 11:56:50 +02:00
LuoZhihao
8ba4656ea3
Compile out editor-only logic within `validate_property` in games
2025-06-12 12:54:19 +08:00
Rémi Verschelde
d26146e826
Merge pull request #107394 from bruvzg/char_before_pref
...
Improve performance of `visible_characters`updates in `VC_CHARS_BEFORE_SHAPING` mode.
2025-06-12 01:15:50 +02:00
Rémi Verschelde
0fe406c73b
Merge pull request #106679 from KoBeWi/disable_files_in_file_dialog
...
Allow customizing FileDialog's features
2025-06-12 01:15:42 +02:00
Rémi Verschelde
986cc40c42
Merge pull request #103907 from beicause/slider-draw-tick-center
...
Slider: Add bottom and top ticks and tick offset
2025-06-12 01:15:39 +02:00
kobewi
4b1d5b55c7
Allow customizing FileDialog's features
2025-06-11 20:12:15 +02:00
Lukas Tenbrink
b13a0e1834
Rename `String::resize` to `resize_uninitialized`, to better communicate to callers that new characters must be initialized.
2025-06-11 18:13:02 +02:00
Marwen Azouzi
76d782d291
Fix IME window position not taking into account window transform
2025-06-11 17:43:21 +02:00
Lukas Tenbrink
e2931a5c19
Make conversions from `NodePath` to `String` explicit.
2025-06-11 16:50:27 +02:00
Pāvels Nadtočajevs
12d957e737
Call `PopupMenu` min. size calculations after `about_to_popup` signal processing.
2025-06-11 12:23:29 +03:00
Pāvels Nadtočajevs
c11c44961b
Improve performance of `visible_characters`updates in `VC_CHARS_BEFORE_SHAPING` mode.
2025-06-11 10:59:06 +03:00
Pāvels Nadtočajevs
cbd1e1cfe9
Partially revert 107110, process all lines in VC_CHARS_BEFORE_SHAPING mode to return correct line count.
2025-06-10 20:44:28 +03:00
Marwen Azouzi
402a527827
Fix select_all_on_focus behaviour on web export with virtual keyboard
2025-06-10 13:18:59 +02:00
Rémi Verschelde
6181a0c756
Merge pull request #107338 from TelePete/label-ratio-fix
...
Fix visible ratio when displaying all characters in Label
2025-06-10 12:30:49 +02:00
Rémi Verschelde
86408d1849
Merge pull request #107331 from bruvzg/rtl_para_sep
...
[RTL] Add paragraph separation theme property.
2025-06-10 12:30:45 +02:00
Rémi Verschelde
68349be895
Merge pull request #106813 from bruvzg/tr_noti
...
Add missing `TRANSLATION_CHANGED` notifications.
2025-06-10 12:30:01 +02:00
Pāvels Nadtočajevs
a262747cdf
[RTL] Decouple image width/height "in percent" properties. Add [hr] tag support.
2025-06-10 12:22:02 +03:00
Pāvels Nadtočajevs
1e2fc9bcad
[RTL] Add paragraph separation theme property.
2025-06-10 12:13:48 +03:00
TelePete
a4ba3d5bed
Fix visible ratio when displaying all characters in Label
2025-06-09 23:38:38 +02:00
Thaddeus Crews
6427343ec8
Merge pull request #106660 from bruvzg/ac_node_to_ctl
...
Move some accessibility properties from Node to Control
2025-06-09 12:31:32 -05:00
Jordyfel
aa77c26636
Fix itemlist text separation
2025-06-09 20:29:20 +03:00
LuoZhihao
81406ff1f4
Spinbox: Fix incorrect step and decimal text when using custom arrow step
2025-06-09 19:00:11 +08:00
LuoZhihao
257c6ebe3c
Slider: Add tick position property and tick offset theme item
...
Allow ticks to be placed at the top, bottom, or center with custom offset.
2025-06-09 12:36:08 +08:00
Rémi Verschelde
86ac065ce7
Merge pull request #107280 from kleonc/accept_dialog_bind_ok_button_visibility_to_spacer
...
Ensure hiding `AcceptDialog` OK button keeps other buttons centered
2025-06-09 00:45:51 +02:00
Rémi Verschelde
e0ca031eae
Merge pull request #107249 from beicause/color-picker-ok-hs-hl-rectangles
...
ColorPicker: Add okhsl HS and HL rectangular picker shapes
2025-06-09 00:45:18 +02:00
Rémi Verschelde
63578eae68
Merge pull request #107110 from bruvzg/rtl_vis_line
...
Unify `get_[_visible]paragraph/line_count` behavior.
2025-06-09 00:44:37 +02:00
Pāvels Nadtočajevs
aff5b413aa
Move some accessibility properties from Node to Control
2025-06-08 16:25:28 +03:00
Pāvels Nadtočajevs
22b5a2fc5c
Change editor button focus mode to `FOCUS_ACCESSIBILITY`.
2025-06-08 15:53:27 +03:00
kleonc
576e1f1263
Ensure hiding AcceptDialog OK button keeps other buttons centered
2025-06-08 12:40:19 +02:00
AndrewYuan34
4774b57e4d
Add auto-scroll behavior when selecting text outside the visible area in RichTextLabel
2025-06-07 11:28:54 -04:00
LuoZhihao
7b4c95e6d8
ColorPicker: Add okhsl HS and HL rectangular picker shapes
2025-06-07 22:30:40 +08:00
Rémi Verschelde
7cd4a319a4
Merge pull request #107198 from beicause/color-picker-fix-okhsl-cursor
...
ColorPicker: Fix cursor position in okhsl circle
2025-06-06 17:38:19 +02:00
LuoZhihao
2a4fc10868
ColorPicker: Fix cursor position in okhsl circle
2025-06-06 13:45:35 +08:00
Logan Detrick
0413297f7f
Add dock dragging area and highlight
2025-06-05 16:02:33 -07:00
Rémi Verschelde
fc5b99f3d6
Merge pull request #107125 from roughbits01/line-edit-caret-desync-secret-toggle
...
Fix LineEdit's caret desyncing issue when toggling secret mode
2025-06-05 13:13:52 +02:00
Rémi Verschelde
d37a1134eb
Merge pull request #107092 from bruvzg/rtl_ol_offset
...
[RTL] Fix outline offset.
2025-06-05 13:13:36 +02:00
Rémi Verschelde
8e0c258408
Merge pull request #106300 from bruvzg/rtl_ualp
...
[RTL] Add options to override underline color and default alpha.
2025-06-05 13:11:39 +02:00
Rémi Verschelde
b25f609eed
Merge pull request #105994 from syntaxerror247/split_container
...
Add option for a touch-friendly drag handle in `SplitContainer`
2025-06-05 13:11:14 +02:00
Pāvels Nadtočajevs
332352d37f
[RTL] Add options to override underline color and default alpha.
2025-06-05 12:39:25 +03:00
Marwen Azouzi
5cba0b22e9
Fix LineEdit's caret desyncing issue when toggling secret mode
2025-06-05 10:01:11 +02:00
Thaddeus Crews
56b492d154
Merge pull request #107055 from roughbits01/line-edit-drag-selection
...
Fix LineEdit continues to force showing the caret after drag is aborted
2025-06-04 10:34:34 -05:00
Thaddeus Crews
6c16d3a61f
Merge pull request #106286 from BrotherShort/FileSystemTree-rename-offset
...
Fix FileSystemTree rename TextEdit is offset
2025-06-04 10:34:31 -05:00
Thaddeus Crews
2a74c5e521
Merge pull request #106729 from roughbits01/line-edit-vk-keep_editing_on_text_submit
...
Keep virtual keyboard visible when `keep_editing_on_text_submit` is enabled
2025-06-04 10:34:29 -05:00
Pāvels Nadtočajevs
f4f26e6edc
Unify `get_[_visible]paragraph/line_count` behavior.
2025-06-04 09:39:01 +03:00
Marwen Azouzi
3e1e686d31
Fix LineEdit forcing caret to show after aborted selection drag
2025-06-04 00:24:45 +02:00
Thaddeus Crews
1b37dacc18
Merge pull request #106622 from beicause/rm-unnecessary-validate-property-call
...
Remove unnecessary calling `_validate_property()` in the core from all extended classes
2025-06-03 15:30:28 -05:00
Thaddeus Crews
af32c5234b
Merge pull request #101219 from L2750558108/add-video-speed-virtual
...
Add speed scale feature for VideoStreamPlayer node
2025-06-03 15:30:26 -05:00
Thaddeus Crews
092dc74e3b
Merge pull request #107088 from ProgrammerOnCoffee/make-shortcut-timer-internal
...
Make `BaseButton`s' shortcut feedback timers internal
2025-06-03 15:30:25 -05:00
Thaddeus Crews
51b17759a2
Merge pull request #103719 from YeldhamDev/build_detection_improvements
...
Make build profile project detection also set build options
2025-06-03 15:30:14 -05:00
Pāvels Nadtočajevs
3652614837
[RTL] Fix outline offset.
2025-06-03 19:35:18 +03:00
Anish Mishra
bccf36b27b
Add option for a touch-friendly drag handle in `SplitContainer`
2025-06-03 19:49:56 +05:30
Michael Alexsander
454e4f817c
Make build profile project detection also set build options
2025-06-03 11:11:33 -03:00
LuoZhihao
713ed59a77
Remove unnecessary `_validate_property()` calling
2025-06-03 21:57:36 +08:00
ProgrammerOnCoffee
360ee10a6e
Make `BaseButton`s' shortcut feedback timers internal
2025-06-03 09:52:28 -04:00
kobewi
706bfd810b
Add thumbnail mode to FIleDialog
2025-06-03 02:06:14 +02:00
Thaddeus Crews
e45cc68092
Merge pull request #106746 from HolonProduction/tab-container-material-fix
...
GUI: Use `TabContainer` material for internal `TabBar`
2025-06-02 18:51:58 -05:00
Thaddeus Crews
fd600b32df
Merge pull request #105680 from KoBeWi/my_recent_favorites
...
Add favorites and recent directories to FileDialog
2025-06-02 18:51:47 -05:00
Thaddeus Crews
46800458c4
Merge pull request #106516 from lodetrick/tabbar-margins
...
Fix TabContainer not respecting `tabbar_background`'s margins
2025-06-02 18:51:25 -05:00
Thaddeus Crews
04924c6e71
Merge pull request #106899 from roughbits01/line-edit-extra-queue-draw
...
Remove redundant `queue_redraw()` & fix typo
2025-06-02 18:51:24 -05:00
Logan Detrick
944295ab04
Fix TabContainer respecting tabbar_background margins
2025-05-31 13:49:38 -07:00
Marwen Azouzi
873833b4a7
Remove redundant `queue_redraw()` & fix typo
2025-05-29 17:22:32 +02:00
kobewi
f75c564d58
Add favorites and recent directories to FileDialog
2025-05-29 15:50:29 +02:00
kit
ebf71cd4f3
Fix CodeEdit hover word lookup
2025-05-28 18:35:15 -04:00
kobewi
df70765af0
Fix SCROLL_MODE_RESERVE with RTL layout
2025-05-28 23:24:27 +02:00
2750558108
c2eba05312
Add speed scale feature for VideoStreamPlayer node
2025-05-28 08:58:32 +08:00
kit
48624a0778
Allow TabBar drag and drop to be overridden
...
Add tab mouse tests
2025-05-27 11:56:37 -04:00
Marwen Azouzi
f03943f37b
[Web] Keep virtual keyboard visible when `keep_editing_on_text_submit` is enabled
2025-05-27 17:16:51 +02:00
Thaddeus Crews
b37869e36d
Merge pull request #106825 from berarma/video_timing
...
VideoStreamPlayer: Fix sync with the scene tree
2025-05-27 09:39:26 -05:00
Thaddeus Crews
482dacc300
Merge pull request #103583 from beicause/color-picker-add-intensity
...
ColorPicker: Add an intensity slider to all modes for HDR
2025-05-27 09:39:21 -05:00