I’ve seen this question asked before on this forum, but I haven’t seen a solution… I need to adjust the line spacing in a BBText object, because GDevelop keeps squishing it vertically (i.e., the line height is definitely below what would be standard line spacing for this font size in a text editor). See the screenshot: there are three BBText objects, and my concern is with the multi-line one in the middle.
I have the same issue with a regular Text object as well, but for that one I discovered a Javascript-based solution courtesy of ChatGPT:
const textReveal = runtimeScene.getObjects("TestText")[0];
if (textReveal) {
textReveal.getRendererObject().style.lineHeight = 45;
}
The same approach doesn’t work with BBText. I’ve switched to using a regular Text object for now, but it would be nice to have a solution.