summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-29 17:26:53 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-29 17:26:53 +0300
commit9f4893c70bced295cfdfd9536dcb5b242629607a (patch)
tree6ddec87b4bd608d849a9bbe5aaaa38caa7b8e23a /doc
parentb253aca53f4590b173b110017eb5095a5a6059a0 (diff)
Use extra font spacing in the RichTextLabel line height calculation, and stylebox size in the minimum size calculation.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TextParagraph.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/classes/TextParagraph.xml b/doc/classes/TextParagraph.xml
index 69bf823ccd..8df53b8423 100644
--- a/doc/classes/TextParagraph.xml
+++ b/doc/classes/TextParagraph.xml
@@ -289,6 +289,20 @@
Returns the size of the bounding box of the paragraph.
</description>
</method>
+ <method name="get_spacing_bottom" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Returns extra spacing at the bottom of the line. See [member Font.extra_spacing_bottom].
+ </description>
+ </method>
+ <method name="get_spacing_top" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Returns extra spacing at the top of the line. See [member Font.extra_spacing_top].
+ </description>
+ </method>
<method name="hit_test" qualifiers="const">
<return type="int">
</return>