1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00
Commit Graph

493 Commits

Author SHA1 Message Date
Nông Văn Tình
270407b20a Implement dynamic scaling of the LineEdit right icon based on control size and scale factor
The implementation allows the LineEdit node to scale the right icon to match the font size first. Then, when the `expand_icon` option is enabled, the icon will expand to the full height of the node. The scale of the icon can then be controlled using the scale factor.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-11-22 18:32:33 +07:00
Thaddeus Crews
6d32d3df75 Merge pull request #111766 from kitbdev/speed_up_spinbox_creation
Improve performance of SpinBox creation
2025-10-27 10:01:35 -05:00
Thaddeus Crews
e870cd911b Merge pull request #110895 from Giganzo/input-focus
Add setting for when to show the focus state for mouse input
2025-10-21 19:09:25 -05:00
Thaddeus Crews
ee6fb9e5e1 Merge pull request #111865 from kitbdev/fix-multiple-ime
Fix IME input in multiple Windows at once
2025-10-21 10:27:13 -05:00
kit
8abdedd477 Fix IME input in multiple Windows at once 2025-10-20 20:25:59 -04:00
Thaddeus Crews
d7943ae06e Merge pull request #111190 from SantiagoDaza3/Open-Source-Contribution
Fix 'LineEdit' Unicode code-point/control character insertion failing to emit text_changed
2025-10-20 18:09:48 -05:00
Thaddeus Crews
4e03f41779 Merge pull request #111156 from WhalesState/insp-groups
Group `virtual keyboard` and `word separators` properties in the inspector.
2025-10-20 18:09:39 -05:00
Santi
01b9208850 LineEdit: now correctly emits text_changed on Unicode code-point and control character insertion. 2025-10-19 01:02:26 -04:00
kit
e232484a37 Improve performance of SpinBox creation 2025-10-17 13:11:21 -04:00
Thaddeus Crews
9e96c7d9b8 Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Giganzo
e384085ca1 Add setting for when to show the focus state for mouse input 2025-10-07 14:26:14 +02:00
Michael Alexsander
984b52a972 Fix cases where LineEdit can still show focus with mouse events 2025-10-06 10:19:35 -03:00
Mounir Tohami
2421dfaab3 Group virtual keyboard properties in the inspector 2025-10-02 14:15:10 +03:00
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07: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
1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
Artemy Fedotov
40d56c98bc Fix LineEdit's placeholder text being selected when double clicking 2025-09-25 12:05:48 +04: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
Michael Alexsander
aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -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
Pāvels Nadtočajevs
67f80aaa23 [LineEdit] Fix double click not selecting single character words. 2025-08-13 10:42:46 +03:00
Pāvels Nadtočajevs
d13b5361b4 [TextServer] Fix caret hit test rounding. 2025-08-08 11:06:07 +03:00
Giganzo
fbf27dbfc6 Fix LineEdit icon positon in right-to-left layout 2025-08-06 21:55:37 +02:00
Giganzo
e3232b226d Fix LineEdit center alignment 2025-08-05 10:05:45 +02: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
Haoyu Qiu
a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08: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
Marwen Azouzi
76d782d291 Fix IME window position not taking into account window transform 2025-06-11 17:43:21 +02:00
Marwen Azouzi
402a527827 Fix select_all_on_focus behaviour on web export with virtual keyboard 2025-06-10 13:18:59 +02: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
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
Marwen Azouzi
3e1e686d31 Fix LineEdit forcing caret to show after aborted selection drag 2025-06-04 00:24:45 +02:00
Michael Alexsander
454e4f817c Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
Marwen Azouzi
873833b4a7 Remove redundant queue_redraw() & fix typo 2025-05-29 17:22:32 +02: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
Logan Detrick
1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Marwen Azouzi
296bee6bce Fix LineEdit with secret checked reveals the secret when a selection is dragged 2025-05-19 08:52:45 +02:00
Thaddeus Crews
cc5857728d Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
Fredia Huya-Kouadio
f29feac7a5 Add a LineEdit / TextEdit property to control whether the virtual keyboard should show on focus 2025-05-05 22:01:34 -04:00
Danil Alexeev
413cb795cd Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
Thaddeus Crews
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
d9122205ec Merge pull request #105656 from Koyper/fix_line_edit_text_edit_composite_character_backspace_delete
[LineEdit/TextEdit] Add composite character backspace delete and get composite character positions
2025-04-24 09:09:30 -05:00
Koyper
b668f45fd0 Fix LineEdit and TextEdit composite character backspace delete. 2025-04-23 15:14:09 -05:00
Pāvels Nadtočajevs
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
717df3ee88 Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00