-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RichTextLabel - BBcode separates words for purpose of text-wrapping #31089
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version:
Godot 3.1.1 64-bit, both Standard and Mono
OS/device including version:
Windows 10 Home 64-bit, build 18362
Issue description:
While working on a solution for the gradual reveal of GUI text (an example), it's become apparent that the RichTextLabel node treats bbcode tags as white space when it comes to text wrapping.
In the above example, a color tag is programmatically moved forward within the text string. The text should not be shifting around at all.
Steps to reproduce:
Create a RichTextLabel node, enable BBCode, and insert some text, with bbcode tags in the middle of words. Play with the width of the control rect, and the issue should become apparent. Alternately, download the repro project, which was used to produce the above gif.
Minimal reproduction project:
Text Reveal Bug.zip
The text was updated successfully, but these errors were encountered: