A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
bruvzg
3a52e0f5fd
[RTL] Clear default justification flags if custom are set and fix typo in the flag name.
2024-05-30 21:23:26 +03:00
bruvzg
061ad36732
[RTL] Use real text/object height instead of line height for meta click/hover detection.
2024-05-28 11:46:56 +03:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
bruvzg
360d365b33
[RTL] Adds extra argument to `remove_paragraph` to skip cache invalidation and a method for manual cache invalidation.
2024-05-02 14:03:21 +03:00
Rémi Verschelde
77caf02802
Merge pull request #89705 from bruvzg/rtl_draw_steps
...
[RTL] Move shadow and foreground/background boxes drawing into a separate draw steps.
2024-04-29 13:00:22 +02:00
ajreckof
7faafb1448
Fix RichTextLabel "Scroll Following" randomly stops working.
2024-04-28 12:15:14 +02:00
Rémi Verschelde
7abe0c6014
Merge pull request #90988 from TheSofox/scrolling-signal-fix
...
Enable `Scrolling` signal when scrolling with middle mouse on `RichTextLabel` or `ScrollContainer`
2024-04-22 22:38:04 +02:00
Sofox
30356a488f
Enabled 'Scrolling' signal when scrolling with middle mouse on RichTextLabel/ScrollContainer
2024-04-22 20:44:03 +01:00
bruvzg
0adb55423d
[RTL] Rewrite `remove_paragraph` code.
2024-04-22 10:32:24 +03:00
bruvzg
524a20f460
[RTL] Add support for character code bb tag.
2024-04-15 11:25:50 +03:00
bruvzg
d34c1f7733
[RTL] Fix dropcaps and list prefixes not taking visible characters into account.
2024-04-10 11:08:57 +03:00
bruvzg
fe8737da49
[RTL] Move shadow and foreground/background boxes drawing into a separate draw steps.
2024-04-09 21:44:53 +03:00
A Thousand Ships
79ba22a73f
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-20 13:47:42 +01:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 11:28:45 +02:00
bruvzg
42e6cda14e
[RTL] Fix meta hover area detection.
2024-03-04 22:06:16 +02:00
Michael Alexsander
d6917d2206
Fix issues with text clearing in `RichTextLabel`
2024-03-02 21:38:32 -03:00
bruvzg
2a3de7adc3
[RTL] Add optional `push_meta` argument to control how meta underline is drawn.
2024-03-01 12:07:06 +02:00
Michael Alexsander
d70c45b5c8
Add option to add built-in strings in the POT generation
2024-02-28 11:34:26 -03:00
Michael Alexsander
aa258c6c12
Fix `RichTextLabel`'s tag stack being overridden on translation change
2024-02-20 12:19:53 -03:00
bruvzg
6d17fc1f73
[RTL] Connect image update signals.
2024-01-26 12:18:24 +02:00
Nicholas Foo
c0f8e0061d
Fix RichTextLabel.remove_paragraph crash by popping current
2024-01-16 13:52:19 +02:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Rémi Verschelde
8580874d0f
Merge pull request #85363 from bruvzg/rtl_fx_nl
...
[RTL] Fix CharFX character offset calculation.
2023-12-04 23:12:48 +01:00
Rémi Verschelde
cbae80006c
Merge pull request #82079 from RoyBerube/OutputScroll
...
Enable scrolling of output with UI scale changes
2023-12-04 22:57:33 +01:00
bruvzg
7a59efac32
[RTL] Fix CharFX character offset calculation.
2023-11-26 00:07:46 +02:00
bruvzg
4a82d3b16d
[RTL] Fix excessive underline and table border draw calls.
2023-11-14 08:31:44 +02:00
jsjtxietian
306a8eec58
Add protection in RichTextLabel.update_image to prevent crash
2023-11-13 18:01:14 +08:00
bruvzg
e1c6dd522b
[RTL] Fix list bullet alignment.
2023-11-08 08:26:30 +02:00
Roy Berube
a7b2e090ad
Enable scrolling of output with UI scale changes
2023-11-06 12:17:49 -07:00
bruvzg
9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-10-31 22:39:42 +02:00
bruvzg
75d22aa816
[RTL] Fix underline/strikethrough line color changes.
2023-10-31 09:34:43 +02:00
bruvzg
49595ca225
[RTL] Remove unnecessary glyph position rounding.
2023-10-08 12:38:06 +03:00
Rémi Verschelde
ca8b229e1c
Merge pull request #80410 from bruvzg/rtl_img_features
...
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 13:44:46 +02:00
Rémi Verschelde
21cdedb79c
Merge pull request #77819 from 0xafbf/char-fx-tests
...
Make it possible to change character transform in RichTextEffect
2023-09-26 13:44:28 +02:00
bruvzg
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 09:39:51 +03:00
Yuri Sizov
56e54b49b6
Merge pull request #81551 from YuriSizov/gui-cache-all-the-theme
...
Bind remaining theme properties to their respective classes
2023-09-14 15:21:45 +02:00
Yuri Sizov
fe000277ea
Bind remaining theme properties to their respective classes
...
This adds binds for GraphEdit/GraphElement/GraphNode, which were
skipped before due to a rework. This also adds binds for Window,
which was skipped before due to a complicated code organization.
Also adds theme cache entries/direct cache access to a few places
that previously missed it. Some theme properties are now exposed
to other classes via friendships or public getters for convenience.
This removes all string-based theme access from scene/ classes.
2023-09-13 19:31:35 +02:00
A Thousand Ships
a29416e332
[Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-12 12:53:06 +02:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Yuri Sizov
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
...
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Rémi Verschelde
713bfaf5ea
Merge pull request #81064 from bruvzg/rtl_char_count_line_edge
...
[RTL] Fix character line index for non-visual characters and characters on the line edge.
2023-08-28 12:12:22 +02:00
Rémi Verschelde
b00796eb1a
Merge pull request #79818 from garychia/select_all
...
RichTextLabel: Ensure the `select_all` function selects all items
2023-08-28 12:03:29 +02:00
bruvzg
2273509721
[RTL] Fix character line index for non-visual characters and characters on the line edge.
2023-08-28 10:50:01 +03:00
bruvzg
88177a5a58
[RTL] Use list iterators for item/paragraph removal.
2023-08-25 17:49:13 +03:00
Chia-Hsiang Cheng
d66c7a2ac5
Ensure the 'select_all' function selects all items
2023-08-25 21:07:33 +08:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00