You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproducible in v4.4.beta1.mono.official [d33da79d3]
System information
macOS Sonoma 14.6.1
Issue description
RichTextLabel has no line_spacing property, which would set the space only between lines. Instead, it has line_separation, which adds that amount of space after each line. E.g. in this picture, there is a lot of blank space below "Line 3":
The best workaround I could find is making a FontVariation that has spacing_bottom set to a negative value while keeping line_separation at a positive value. I believe this is similar to specifying the BBCode [font bt=5] but in such a way that you don't need to modify every RichTextLabel in your game.
Steps to reproduce
Make a RichTextLabel
Increase its line_separation property to make it more obvious
Tested versions
v4.4.beta1.mono.official [d33da79d3]
System information
macOS Sonoma 14.6.1
Issue description
RichTextLabel
has noline_spacing
property, which would set the space only between lines. Instead, it hasline_separation
, which adds that amount of space after each line. E.g. in this picture, there is a lot of blank space below "Line 3":The best workaround I could find is making a
FontVariation
that hasspacing_bottom
set to a negative value while keepingline_separation
at a positive value. I believe this is similar to specifying the BBCode[font bt=5]
but in such a way that you don't need to modify everyRichTextLabel
in your game.Steps to reproduce
RichTextLabel
line_separation
property to make it more obviousMinimal reproduction project (MRP)
richtextlabelspacingrepro.zip
The text was updated successfully, but these errors were encountered: