summaryrefslogtreecommitdiff
path: root/doc/classes/LinkButton.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-12-19 17:15:44 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-12-19 17:17:45 +0100
commitfcf54cabba28b45797093eca9d308868e543f92d (patch)
tree5f4c5514c4ac9c704af5f706f8111d7a831b833b /doc/classes/LinkButton.xml
parentd34594179a1e9f1ad5351b152f2ccfbd4b119c01 (diff)
Document MDSF font outlines may require `msdf_pixel_range` adjustments
Diffstat (limited to 'doc/classes/LinkButton.xml')
-rw-r--r--doc/classes/LinkButton.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/LinkButton.xml b/doc/classes/LinkButton.xml
index 184ba1ba7a..b3938999f3 100644
--- a/doc/classes/LinkButton.xml
+++ b/doc/classes/LinkButton.xml
@@ -76,6 +76,7 @@
</theme_item>
<theme_item name="outline_size" data_type="constant" type="int" default="0">
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="underline_spacing" data_type="constant" type="int" default="2">
The vertical space between the baseline of text and the underline.