1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00
Commit Graph

622 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
2a5833148d [RTL] Fix text selection offset in padded cells. 2025-07-14 10:43:48 +03: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
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
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
1a64b6b5b6 Merge pull request #106913 from Ivorforce/string-resize-uninitialized
Rename `String::resize` to `resize_uninitialized`
2025-06-12 22:48:45 +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
Pāvels Nadtočajevs
c11c44961b Improve performance of visible_charactersupdates 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
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
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
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
Pāvels Nadtočajevs
332352d37f [RTL] Add options to override underline color and default alpha. 2025-06-05 12:39:25 +03:00
Pāvels Nadtočajevs
f4f26e6edc Unify get_[_visible]paragraph/line_count behavior. 2025-06-04 09:39:01 +03:00
Pāvels Nadtočajevs
3652614837 [RTL] Fix outline offset. 2025-06-03 19:35:18 +03:00
Michael Alexsander
454e4f817c Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
Lukas Tenbrink
ea6fbd6687 Use OkHSV for rainbow labels. 2025-05-22 22:53:32 +02:00
Pāvels Nadtočajevs
7fc4521dd8 Adjust hex code box baseline calculation. 2025-05-20 08:53:40 +03:00
Danil Alexeev
decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +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
4dbfcbfbbd Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
2025-04-27 19:21:15 -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
ExEago
4115b813fe Add two methods to compute the height and width of an individual line in a RichTextLabel 2025-04-21 10:25:47 +02:00
yahkr
fc051c8b36 Add [br] to bbcode parsing for rich_Text_label 2025-04-18 09:59:47 -04: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
aba5841b34 Merge pull request #105323 from bruvzg/rtl_right_trim
[RTL] Fix VC_GLYPHS_RTL visible character trimming mode.
2025-04-15 12:28:48 -05:00
Thaddeus Crews
4cc419f6e6 Merge pull request #105259 from bruvzg/rtl_track_custom_font_changes
[RTL] Track external changes in the custom fonts set by BBCode / `push_*`.
2025-04-14 19:39:45 -05:00
Pāvels Nadtočajevs
d782d827f7 [RTL] Fix VC_GLYPHS_RTL visible character trimming mode. 2025-04-12 21:13:19 +03:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Pāvels Nadtočajevs
1ddd503213 [RTL] Track external changes in the custom fonts set by BBCode / push_*. 2025-04-11 00:10:45 +03:00
A Thousand Ships
889410dcda Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
b106dfd4f9 Base accessibility API. 2025-04-08 20:14:28 +03:00
Yufeng Ying
7a1a970c25 size() <= 0 and size() < 1. 2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Rémi Verschelde
1a367f3a68 Merge pull request #104685 from bruvzg/rtl_vpad
[RTL] Improve vertical padding.
2025-03-28 17:30:44 +01:00
Pāvels Nadtočajevs
a2919f8127 [RTL] Improve vertical padding. 2025-03-27 08:51:21 +02:00
Pāvels Nadtočajevs
42edbcd748 [RTL] Fix size/alignment of tables with padded cells. 2025-03-26 20:50:59 +02:00
Pāvels Nadtočajevs
7675bc7df6 [RTL] Fix float and int matching in FX environment. 2025-03-24 09:27:22 +02:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Pāvels Nadtočajevs
2bbf0f2317 Add properties to configure space trimming on line break. 2025-03-16 16:15:37 +02:00
Pāvels Nadtočajevs
9f8d8b7c4e [RTL] Fix custom effects not updating. 2025-03-14 16:35:35 +02:00
Rémi Verschelde
cbb1e0ef7a Merge pull request #103653 from dugramen/popup_respect_scale
Apply transforms for LineEdit, RichTextLabel, and TextEdit popup positions
2025-03-12 22:56:58 +01:00
dugramen
ad812cf29d Apply transform for LineEdit, RichTextLabel, and TextEdit popup positions 2025-03-08 17:57:44 -05:00
Thaddeus Crews
3c43508ed7 Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
6b4fda04c9 Merge pull request #89442 from KoBeWi/internal_duplicaten't
Don't duplicate internal nodes
2025-03-07 12:06:36 -06:00
Thaddeus Crews
5e48f26e7f Merge pull request #103580 from yangyey/bugfixing
Add space for BBCode Ordered Lists
2025-03-07 12:06:32 -06:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00