Pāvels Nadtočajevs
d0b2b8616e
[Label] Account for max visible lines when trimming text.
2025-11-10 10:24:51 +02: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
Thaddeus Crews
2b1fa0f10c
Merge pull request #111111 from bruvzg/outl_warn
...
[Label] Add MSDF pixel range/outline configuration warning.
2025-10-13 12:30:03 -05:00
Pāvels Nadtočajevs
fda161f976
Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters.
2025-10-07 13:10:24 +03: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
Aaron Franke
1a7be001d2
Use const Array ref in `set_structured_text_bidi_override_options`
2025-09-26 14:31:38 -07:00
kobewi
a57fef9558
Remove overrun code duplication
2025-09-23 16:08:46 +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
Michael Alexsander
aeb3a45c97
Hide `Control` focus when given via mouse input
2025-09-19 13:43:29 -03: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
TelePete
a4ba3d5bed
Fix visible ratio when displaying all characters in Label
2025-06-09 23:38:38 +02:00
Thaddeus Crews
b1b873add3
Merge pull request #104731 from Delsin-Yu/stackable-text-effect
...
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
DE YU
ac931c33c2
Implmement stackable text effects on label type through label settings
...
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-04-26 20:50:20 +08:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply `FOCUS_ACCESSIBILITY` to the `Label`s instead of setting it by default.
2025-04-23 12:47:31 +03:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
Rémi Verschelde
22e41a2b5f
Merge pull request #103728 from bruvzg/lbl_min_sz_ex_sp
...
[Label] Fix min. size calculation counting extra spacing twice.
2025-03-19 12:26:51 +01:00
Thaddeus Crews
b7eda9dbc1
Merge pull request #104230 from bruvzg/start_clip
...
Add properties to configure space trimming on line break.
2025-03-18 14:42:44 -05:00
Thaddeus Crews
ea62170dac
Core: Add `constexpr` constructors/operators to math structs
...
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -05: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
acdaaf48f9
[Label] Fix min. size calculation counting extra spacing twice.
2025-03-07 00:02:42 +02:00
Thaddeus Crews
113fc5a647
Merge pull request #102648 from bruvzg/el_force
...
Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls.
2025-03-05 12:07:55 -06:00
Pāvels Nadtočajevs
7397e33cc9
Fix text shadow outline draw batching.
2025-03-02 19:28:48 +02:00
Pāvels Nadtočajevs
8016c5399f
[Label] Fix rounding errors with fractional scale.
2025-02-23 17:59:14 +02:00
Pāvels Nadtočajevs
33eb7724a0
Fix label clipping when ascent/descent are fractional.
2025-02-22 22:51:23 +02:00
Pāvels Nadtočajevs
912b52a6a5
Expose `OVERRUN_ENFORCE_ELLIPSIS` flag to the controls.
2025-02-10 08:41:31 +02:00
Pāvels Nadtočajevs
d98528ca3c
Fix Label vertical line alignment.
2025-01-18 22:07:39 +02:00
bruvzg
cc1db569e1
[TextServer] Improve embedded objects handling performance.
2025-01-07 08:01:29 +02:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde
eefd32ba16
Merge pull request #99915 from bruvzg/lbl_width
...
[Label] Fix min. width
2024-12-02 15:52:15 +01:00
Rémi Verschelde
715a7bac00
Merge pull request #99906 from bruvzg/lbl_empty_lines
...
[Label] Fix empty paragraph height.
2024-12-02 15:52:11 +01:00
Pāvels Nadtočajevs
e8f3bebb5d
[Label] Fix min. width
2024-12-02 07:57:00 +02:00
rune-scape
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
Pāvels Nadtočajevs
151dcf30ee
[Label] Fix empty paragraph height.
2024-12-01 21:53:07 +02:00
bruvzg
b329b4ab06
[Label] Handle text as multiple independent paragraphs.
2024-11-14 11:29:46 +02:00
Adam Johnston
3ac043c508
Add fuzzy string matching to quick open search
...
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
bruvzg
af9e8128f9
[Label] Move shadow drawing into a separate draw step.
2024-03-15 11:24:08 +02:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
...
This reverts commit d3852deaa4 .
2024-02-17 19:03:21 +01:00
RedMser
d3852deaa4
Update Node::get_configuration_warnings signature
2024-02-08 23:05:20 +01:00
Rémi Verschelde
8c48e99c17
Merge pull request #82894 from Quimisagi/label-align-values-discarded
...
Add compatibility rename of `(v)align` properties of `Label`
2024-01-04 16:39:04 +01:00
bruvzg
e9c219cff2
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 13:53:21 +02:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
Yuri Sizov
58a3cfa192
Warn about autowrapped labels in containers
2023-11-09 16:33:46 +01:00
David Crespo
0be873bed2
Add compability rename of (v)align properties of Label
2023-10-31 14:39:57 -05:00
Yuri Sizov
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
Rémi Verschelde
b156e24216
Merge pull request #77280 from Rindbee/fix-unnecessary-break-in-Label
...
Fix unnecessary break when calculating the height of visible lines
2023-08-02 12:15:24 +02:00
bruvzg
16d7e0bf98
[Label] Remove extra line spacing from Label minimum size calculations.
2023-07-26 08:15:53 +03:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
bruvzg
b23f259e67
[Label] Add support for tab stops.
2023-06-09 12:59:37 +03:00