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
When using a color tag (BBCode) at the beginning of a RichTextLabel text, when striking/underlining is also used on this colored text later, the lines created by the striking/underlining are colored until the end of the line.
If text is on multiple lines, only the lines beginning with a color tag are impacted until the end of this particular line (by the end I mean when the control's end is reached, generating a new line by wordwrap, not when a new line is manually introduced).
Expected result should be a matching of the underlining/striking color with the related text above/under.
Steps to reproduce
I provide a MRP below, but simply adding color tag at the beginning of a RTL text for only a few words and also adding [s]..[/s] around the whole text would trigger the issue.
Text should be partially colored only and the striking/underlining should be applied to the whole text to see the actual issue.
Godot version
4.2.beta3 (and all the other 4.2.x flavors)
System information
Manjaro Linux (DE: Cinnamon v5.8.4) 64 bits
Issue description
When using a color tag (BBCode) at the beginning of a RichTextLabel text, when striking/underlining is also used on this colored text later, the lines created by the striking/underlining are colored until the end of the line.
If text is on multiple lines, only the lines beginning with a color tag are impacted until the end of this particular line (by the end I mean when the control's end is reached, generating a new line by wordwrap, not when a new line is manually introduced).
Expected result should be a matching of the underlining/striking color with the related text above/under.
Steps to reproduce
I provide a MRP below, but simply adding color tag at the beginning of a RTL text for only a few words and also adding [s]..[/s] around the whole text would trigger the issue.
Text should be partially colored only and the striking/underlining should be applied to the whole text to see the actual issue.
Minimal reproduction project
The small application seen in the screenshot above:
Rich Text Label Issue.zip
The text was updated successfully, but these errors were encountered: