[TextEdit] Make wrap_right_offset adjustable theme constant.

This commit is contained in:
Pāvels Nadtočajevs
2025-10-16 23:49:43 +03:00
parent 7864ac8019
commit e31830db52
4 changed files with 7 additions and 2 deletions

View File

@ -1676,6 +1676,9 @@
The size of the text outline.
[b]Note:[/b] If using a font with [member FontFile.multichannel_signed_distance_field] enabled, its [member FontFile.msdf_pixel_range] must be set to at least [i]twice[/i] the value of [theme_item outline_size] for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended.
</theme_item>
<theme_item name="wrap_offset" data_type="constant" type="int" default="10">
Sets an additional margin for line wrapping width.
</theme_item>
<theme_item name="font" data_type="font" type="Font">
Sets the default [Font].
</theme_item>