Thaddeus Crews
f5560ccbe2
Merge pull request #115637 from YeldhamDev/obey_your_parents
...
Make internal children of built-in nodes use their parent's material
2026-04-28 09:02:46 -05:00
Thaddeus Crews
cba344c16d
Merge pull request #112617 from Meorge/feat/richtextlabel-img-em
...
Add option to scale images in RichTextLabel relative to font size
2026-04-10 10:32:20 -05:00
Michael Alexsander
37da25dcb0
Make internal children of built-in nodes use their parent's material
2026-04-08 11:45:49 -03:00
Pāvels Nadtočajevs
574e35c2be
[RTL] Fix remove_paragraph crash.
2026-04-08 15:32:46 +03:00
Malcolm Anderson
c309339ec6
Allow image dimensions in RichTextLabel to be relative to font size
2026-04-07 16:41:20 -07:00
Thaddeus Crews
4c8cdd2ec0
Merge pull request #118277 from bruvzg/rtl_rid_count
...
Increase max RID count for some owners, decrease RID usage by `RichTextLabel`.
2026-04-07 18:21:53 -05:00
StarryWorm
d69e34bb20
Allow Label and RichTextLabel to use the new custom_maximum_size
...
These will be able to use `custom_maximum_size` for autowrapping and trimming, reflecting expected behavior.
2026-04-07 14:34:13 -04:00
StarryWorm
bdca8b66e7
Add custom_maximum_size to Control
...
This property mirrors `custom_minimum_size` and enables the user to set a size the `Control`. Enabling `propagate_maximum_size` forces all children to respect this node's maximum_size.
Not all `Control` types handle this gracefully, which may result in content clipping.
2026-04-07 14:34:12 -04:00
Pāvels Nadtočajevs
eeafab862d
Increase max RID count for some owners, decrease RID usage by RichTextLabel.
2026-04-07 17:07:23 +03:00
uno1982
e2e8a280c3
Fix RichTextLabel drag selection not working after double-click
...
Start the selection timer after a double-click so that dragging to
extend a word selection works correctly.
Regression introduced in #104715 which moved selection updates into a
timer callback (click_select_held) but did not start the timer in
the double-click handler, only in the single-click handler.
Fixes #116860 .
2026-03-09 11:27:40 -05:00
Rémi Verschelde
3bfde00aac
Merge pull request #116868 from ismailivanov/richtextlabel-triple-click-select
...
Add triple-click paragraph selection to RichTextLabel
2026-03-09 11:49:30 +01:00
Ismail Ivanov
8dabd60033
Add triple-click paragraph selection to RichTextLabel
2026-03-06 22:53:44 +01:00
Thaddeus Crews
737ae54ef6
Merge pull request #117074 from qqwobble/fix-rich-ol-alpha
...
Fix RichTextLabel [ol type=a] not generating the right prefix
2026-03-06 12:39:59 -06:00
qqwobble
754eb7808a
Fix RichTextLabel [ol type=a] not generating the right prefix
2026-03-05 13:55:41 +01:00
Rémi Verschelde
2dd1f4ef60
Decouple node.h from scene_tree.h, minimize its other includes
2026-03-05 13:54:46 +01:00
Thaddeus Crews
c646b57c27
Merge pull request #117011 from bruvzg/rtl_tab_off
...
[RTL] Fix character click offsets after the table.
2026-03-04 11:20:50 -06:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
...
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde
8c0f175c94
Decouple RenderingServer from as much of the codebase as possible
...
Notably decouples it from:
- AccessibilityServer
- DisplayServer
- Viewport
- Window
2026-03-03 12:48:07 +01:00
Rémi Verschelde
a447ac95ec
Move DisplayServer enums and typedefs to DisplayServerEnums
...
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Pāvels Nadtočajevs
70906e4feb
[RTL] Fix character click offsets after the table.
2026-03-03 13:15:32 +02:00
Pāvels Nadtočajevs
1306221592
Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton.
2026-03-02 13:48:29 +02:00
Pāvels Nadtočajevs
d06b6e7111
[RTL] Fix % handling in [img=WxH] tags.
2026-03-01 20:35:38 +02:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
...
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
风青山
95851a05bc
Remove redundant calculation code in RichTextLabel::_get_line_max_width()
...
Since `_shape_line()` is called recursively, nested tables will be
calculated first, so there is no need to calculate the `max_width`
of the columns of the nested table in `_get_line_max_width()` again.
2026-02-24 09:48:16 +08:00
Thaddeus Crews
9a1a0e927b
Merge pull request #116277 from Rindbee/improve-the-table-in-RichTextLabel
...
Improve the table in `RichTextLabel`
2026-02-23 11:59:01 -06:00
kit
a98f695673
Fix rtl scrollbar when too small to show it
2026-02-18 19:24:52 -05:00
风青山
10a91ca7cd
Improve the table in RichTextLabel
...
The table should be neat and tidy.
2026-02-18 09:10:09 +08:00
Thaddeus Crews
d1397d884a
Merge pull request #116157 from Rindbee/fix-copying-text-across-frames-in-RichTextLabel
...
Fix copying text across tables in `RichTextLabel`
2026-02-17 14:03:59 -06:00
风青山
76a2ab7fbf
Fix the table is too wide when using indentation in RichTextLabel
...
Line indentation (offset) is not taken into account when calculating
the available width of the table.
However, when drawing a table, its offset takes into account line
indentation.
2026-02-11 20:15:08 +08:00
风青山
f9c31d3483
Fix copying text across tables in RichTextLabel
...
Previously, using `\r` instead of `\n` for line breaks in tables (e.g.,
in class references) could cause issues when copying text across tables.
2026-02-11 15:43:20 +08:00
Danil Alexeev
6e3dc38835
Editor: Improve appearance of built-in help
2026-02-06 11:15:59 +03:00
Lukas Tenbrink
c5df0cb82b
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
2026-02-04 19:31:28 +01:00
Michael Alexsander
a7c77ac1f7
Fix build profile generator creating bogus profiles
2026-01-26 21:42:01 -03:00
Kni1feKillz
3f50ab6f03
Fix RichTextLabel not updating
...
Fix RichTextLabel not updating when changing scroll_active in the editor and in projects
2026-01-20 16:18:37 +04:00
ash taylor?!
bd5ff04a63
Add line separation to paragraph separation in RTL
2025-12-17 22:25:04 +01:00
Pāvels Nadtočajevs
3eaab68485
[RTL] Fix relative index getting out of sync.
2025-12-04 10:26:14 +02:00
Thaddeus Crews
a259ad354f
Merge pull request #112295 from bruvzg/rtl_empty_scroll
...
[RTL] Do not apply scroll offset to empty RTL.
2025-11-25 09:52:23 -06:00
Haoyu Qiu
72d437c030
Move localized number formatting methods to TranslationServer
...
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com >
2025-11-10 15:01:22 +08:00
Thaddeus Crews
6af0c2a21c
Merge pull request #110340 from bruvzg/ts_dup_r
...
[RTL] Use separate paragraph copy for the partially visible paragraphs.
2025-11-07 10:32:27 -06:00
Pāvels Nadtočajevs
0d19e18b00
[RTL] Use separate paragraph copy for the partially visible paragraphs.
2025-11-05 17:51:22 +02:00
Pāvels Nadtočajevs
dcb40b52ac
[RTL] Fix meta hover signals not emitted.
2025-11-05 12:33:45 +02:00
Pāvels Nadtočajevs
ad5931ea28
[RTL] Do not apply scroll offset to empty RTL.
2025-11-01 23:22:40 +02:00
Robob27
82ddbe7878
Fix scrollbar render with RTL scroll following visible
2025-10-27 06:37:18 -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
Lukas Tenbrink
33689d7beb
Remove transitive mesh.h, rendering_server.h and shader.h includes from node.h.
2025-10-08 12:16:52 +02:00
Thaddeus Crews
ccccb9d3cb
Merge pull request #111258 from Koyper/fix_rich_text_label_bullet_list_issues
...
[RichTextLabel] Fix bullet list font color and formatting issues
2025-10-07 11:54:43 -05:00
Thaddeus Crews
9efb50bad7
Merge pull request #111250 from scgm0/Fix-RichTextLabel-Focus
...
Fix RichTextLabel Focus Box
2025-10-07 11:54:39 -05:00
Koyper
faf1ab126d
Fix RichTextLabel bullet list font issues
2025-10-07 09:52:34 -05:00
chocola-mint
19c47c5d99
Remove #include "scene/main/timer.h" from control.h
2025-10-05 14:41:06 +09:00