-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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 [/indent] does nothing #71180
Comments
Indent change is applied to new paragraph, opening So:
Turns into:
Not sure if it should be considered a bug, |
Thanks for looking into this issue and commenting! The current implementation of Such a paragraph would be enclosed by a paragraph break, which is So far I have assumed My expected behavior of the Whether or not the indentation should also enforce a linebreak as well (start exactly where the However what the |
It does, RTL use any line break as a paragraph separator, and some tags (
I guess it would make sense to apply indent to the lines after line breaking, but what should happen if tags are not on the line boundaries? I'm not sure if I see any consistent way to apply it: For example (assuming single paragraph, with automatic line break caused by control width):
Should look like this:
Or this:
Or this?
|
Godot version
3.5.1 stable, 4.0 Beta 10
System information
Win 10, Nvidea 765M
Issue description
In both Godot 3.1.5 as well as Godot 4.0 Beta 10 the closing
[/indent]
tag seems broken, does nothing.The opening tag
[indent]
will create an indent, but there seems no way to stop it for the rest of the text.Steps to reproduce
Add a RichTextLabel node, paste this text into the Inspector BBCode textfield and enable BBCode property:
Led ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et [indent]quasi architecto beatae vitae dicta sunt, explicabo. Nemo enim ipsam voluptatem, quia voluptas sit, aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos, [/indent]qui ratione voluptatem sequi nesciunt, neque porro quisquam est.
Seems to be a different issue than this: #67026
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: