summaryrefslogtreecommitdiff
path: root/doc/classes/ProgressBar.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-20 10:32:32 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-20 10:32:32 +0100
commit923311dea07d81229d0e74970099fdf4ffd7737f (patch)
treeee0ed78bc50dee6094c1575debe08867b417c3fd /doc/classes/ProgressBar.xml
parentf1f6b35b8c840eff55fe5f2b6373f89a6c410fcb (diff)
parentfcf54cabba28b45797093eca9d308868e543f92d (diff)
Merge pull request #70303 from Calinou/doc-font-outlines-msdf
Document MDSF font outlines may require `msdf_pixel_range` adjustments
Diffstat (limited to 'doc/classes/ProgressBar.xml')
-rw-r--r--doc/classes/ProgressBar.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/ProgressBar.xml b/doc/classes/ProgressBar.xml
index 510b8d5bd1..9f89a4e4c3 100644
--- a/doc/classes/ProgressBar.xml
+++ b/doc/classes/ProgressBar.xml
@@ -42,6 +42,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="font" data_type="font" type="Font">
Font used to draw the fill percentage if [member show_percentage] is [code]true[/code].