diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-29 17:26:53 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-29 17:26:53 +0300 |
commit | 9f4893c70bced295cfdfd9536dcb5b242629607a (patch) | |
tree | 6ddec87b4bd608d849a9bbe5aaaa38caa7b8e23a /doc | |
parent | b253aca53f4590b173b110017eb5095a5a6059a0 (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.xml | 14 |
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> |