[2.0.71] Rich Text line breaks in LocalisedStrings (label caption)
Posted: Tue Oct 21, 2025 4:41 am
I have a localised string that looks like this: open_gui_shift=Open GUI\n[font=default-semibold][color=128,206,240]Shift:[/color][/font] Open location on map
When I use this text as a tooltip, it renders like this:
but when I use it as a caption for a label, it renders like this:
and I have not found a way to make that caption to render the line break correctly. I found a bunch of messages from the 0.15 era that says "text barely works, no new lines supported". Is that still the case? If yes, consider this a feature request.
When I use this text as a tooltip, it renders like this:
but when I use it as a caption for a label, it renders like this:
and I have not found a way to make that caption to render the line break correctly. I found a bunch of messages from the 0.15 era that says "text barely works, no new lines supported". Is that still the case? If yes, consider this a feature request.